- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for mustRegexMatchString (0.13 sec)
-
pkg/log/default_test.go
WithLabels("foo", "bar").WithLabels("baz", 123, "qux", 0.123).Error("Hello") _ = Sync() }) if err != nil { t.Errorf("Got error '%v', expected success", err) } mustRegexMatchString(t, lines[0], `Hello foo=bar baz=123 qux=0.123`) } func TestLogWithTime(t *testing.T) { getLogTime := func(t *testing.T, line string) time.Time { type logEntry struct { Time time.Time `json:"time"`
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 7.4K bytes - Viewed (0)