Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnreadByteOthers (0.15 sec)

  1. src/bufio/bufio_test.go

    			}
    		}
    		// Test that we cannot unread any further.
    		if err := r.UnreadByte(); err == nil {
    			t.Errorf("n = %d: expected error on UnreadByte", n)
    		}
    	}
    }
    
    func TestUnreadByteOthers(t *testing.T) {
    	// A list of readers to use in conjunction with UnreadByte.
    	var readers = []func(*Reader, byte) ([]byte, error){
    		(*Reader).ReadBytes,
    		(*Reader).ReadSlice,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
Back to top