Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCheckPreconditions (0.18 sec)

  1. cmd/object-handlers-common_test.go

    		etag := canonicalizeETag(test.etag)
    		if test.canonicalizedETag != etag {
    			t.Fatalf("Expected %s , got %s", test.canonicalizedETag, etag)
    		}
    	}
    }
    
    // Tests - CheckPreconditions()
    func TestCheckPreconditions(t *testing.T) {
    	objModTime := time.Date(2024, time.August, 26, 0o2, 0o1, 0o1, 0, time.UTC)
    	objInfo := ObjectInfo{ETag: "aa", ModTime: objModTime}
    	testCases := []struct {
    		name              string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top