- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isSameType (0.1 sec)
-
cmd/test-utils_test.go
r = reseed() } // constants from Numerical Recipes r = r*1664525 + 1013904223 randN = r randmu.Unlock() return strconv.Itoa(int(1e9 + r%1e9))[1:] } // isSameType - compares two object types via reflect.TypeOf func isSameType(obj1, obj2 interface{}) bool { return reflect.TypeOf(obj1) == reflect.TypeOf(obj2) } // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
if testCase.expectedErrType == nil && err != nil { t.Errorf("Test %d, unexpected err is received: %v, expected:%v\n", i+1, err, testCase.expectedErrType) } if testCase.expectedErrType != nil && !isSameType(err, testCase.expectedErrType) { t.Errorf("Test %d, unexpected err is received: %v, expected:%v\n", i+1, err, testCase.expectedErrType) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 88.8K bytes - Viewed (0)