Test ReaderAtCursor with failing ReaderAt

This commit is contained in:
2024-09-13 11:17:32 -06:00
parent 4761259567
commit c9ee9916eb
3 changed files with 26 additions and 2 deletions

11
test/generator/gen.go Normal file
View File

@ -0,0 +1,11 @@
package generator
import (
"errors"
"pgregory.net/rapid"
)
func Error() *rapid.Generator[error] {
return rapid.Map(rapid.String(), errors.New)
}