Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetContentSha256Cksum (0.26 sec)

  1. cmd/signature-v4-utils_test.go

    			t.Errorf("Test %d: Expected signV4TrimAll result to be \"%s\", but found it to be \"%s\" instead", i+1, testCase.result, result)
    		}
    	}
    }
    
    // Test getContentSha256Cksum
    func TestGetContentSha256Cksum(t *testing.T) {
    	testCases := []struct {
    		h        string // header SHA256
    		q        string // query SHA256
    		expected string // expected SHA256
    	}{
    		{"shastring", "", "shastring"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top