- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestReaderDoubleUnreadRune (0.16 sec)
-
src/bytes/reader_test.go
// should not happen t.Fatal(err) } tt.f(reader) err := reader.UnreadRune() if err == nil { t.Errorf("Unreading after %s: expected error", tt.name) } } } func TestReaderDoubleUnreadRune(t *testing.T) { buf := NewBuffer([]byte("groucho")) if _, _, err := buf.ReadRune(); err != nil { // should not happen t.Fatal(err) } if err := buf.UnreadByte(); err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0)