Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestToS3ETag (0.08 sec)

  1. cmd/utils_test.go

    	expectedHeader.Set("host", "localhost:9000")
    	if !reflect.DeepEqual(res.Header, expectedHeader) {
    		t.Fatalf("Expected %#v, got %#v", expectedHeader, res.Header)
    	}
    }
    
    // Test ToS3ETag()
    func TestToS3ETag(t *testing.T) {
    	testCases := []struct {
    		etag         string
    		expectedETag string
    	}{
    		{`"8019e762"`, `8019e762-1`},
    		{"5d57546eeb86b3eba68967292fba0644", "5d57546eeb86b3eba68967292fba0644-1"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top