- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestScopeJSON (0.1 sec)
-
pkg/log/scope_test.go
if err != nil { t.Errorf("Got error '%v', expected success", err) } mustRegexMatchString(t, lines[0], `Hello foo=override baz=123 qux=0.123`) mustRegexMatchString(t, lines[1], "Hello$") } func TestScopeJSON(t *testing.T) { const name = "TestScope" const desc = "Desc" s := RegisterScope(name, desc) s.SetOutputLevel(DebugLevel) lines, err := captureStdout(func() { o := DefaultOptions()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 17:36:09 UTC 2024 - 11K bytes - Viewed (0)