Removed StringCursor because strings.Reader is a ReaderAt
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user