Removed StringCursor because strings.Reader is a ReaderAt

This commit is contained in:
2024-09-03 16:13:21 -06:00
parent cfeaaa27e3
commit a2e9d2cc8d
2 changed files with 0 additions and 40 deletions

View File

@ -80,12 +80,6 @@ func TestSliceCursor(t *testing.T) {
testCursor(t, cursor.NewSlice[byte])
}
func TestStringCursor(t *testing.T) {
testCursor(t, func(b []byte) cursor.StringCursor {
return cursor.NewString(string(b))
})
}
func TestReaderAtCursor(t *testing.T) {
testCursor(t, func(b []byte) cursor.ReaderAtCursor {
return cursor.NewReaderAt(bytes.NewReader(b))