Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHashReaderInvalidArguments (0.24 sec)

  1. internal/hash/reader_test.go

    	r, err := NewReader(context.Background(), src, size, md5Hex, sha256Hex, actualSize)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return r
    }
    
    // Tests NewReader() constructor with invalid arguments.
    func TestHashReaderInvalidArguments(t *testing.T) {
    	testCases := []struct {
    		desc              string
    		src               io.Reader
    		size              int64
    		actualSize        int64
    		md5hex, sha256hex string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top