Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestReaderCopyNothing (0.19 sec)

  1. src/bytes/reader_test.go

    		t.Fatal("UnreadByte: expected error, got nil")
    	}
    }
    
    // verify that copying from an empty reader always has the same results,
    // regardless of the presence of a WriteTo method.
    func TestReaderCopyNothing(t *testing.T) {
    	type nErr struct {
    		n   int64
    		err error
    	}
    	type justReader struct {
    		io.Reader
    	}
    	type justWriter struct {
    		io.Writer
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
Back to top