Test ReaderAtCursor with failing ReaderAt

This commit is contained in:
b committed 2024-09-13 11:17:32 -06:00
1 parent 4761259567
commit c9ee9916eb
3 files changed
+26 -2

No files matched your search

+11
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)
}