Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCheckPreconditions (0.15 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 Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top