Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsValidObjectName (0.91 sec)

  1. cmd/object-api-utils_test.go

    		{string([]byte{0xff, 0xfe, 0xfd}), false},
    	}
    
    	for i, testCase := range testCases {
    		isValidObjectName := IsValidObjectName(testCase.objectName)
    		if testCase.shouldPass && !isValidObjectName {
    			t.Errorf("Test case %d: Expected \"%s\" to be a valid object name", i+1, testCase.objectName)
    		}
    		if !testCase.shouldPass && isValidObjectName {
    			t.Errorf("Test case %d: Expected object name \"%s\" to be invalid", i+1, testCase.objectName)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top