- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FatalIf (0.05 sec)
-
cmd/object-handlers_test.go
if err != nil { t.Fatalf("Test %s: reading completed file failed: <ERROR> %v", instanceType, err) } if _, err = io.Copy(&buf, r); err != nil { r.Close() t.Fatalf("Test %s: Failed to fetch the copied object: <ERROR> %s", instanceType, err) } r.Close() if !bytes.Equal(buf.Bytes(), bytesData[0].byteData) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0) -
cmd/server_test.go
} // Assert - checks if gotValue is same as expectedValue, if not fails the test. func (c *check) Assert(gotValue interface{}, expectedValue interface{}) { c.Helper() if !reflect.DeepEqual(gotValue, expectedValue) { c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue) } } func verifyError(c *check, response *http.Response, code, description string, statusCode int) { c.Helper() data, err := io.ReadAll(response.Body)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)