Test ReaderAtCursor with failing ReaderAt
This commit is contained in:
1 parent
4761259567
commit
c9ee9916eb
3 files changed
+26
-2
No files matched your search
@@ -0,0 +1,11 @@
|
||||
package generator
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"pgregory.net/rapid"
|
||||
)
|
||||
|
||||
func Error() *rapid.Generator[error] {
|
||||
return rapid.Map(rapid.String(), errors.New)
|
||||
}
|
||||
Reference in new issue
Block a user