Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustMatchLength (0.11 sec)

  1. pkg/log/scope_test.go

    			"error\tklog\tmy error: info\tkey=1",
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.expected, func(t *testing.T) {
    			lines := runTest(t, tt.log)
    			mustMatchLength(t, 1, lines)
    			mustRegexMatchString(t, lines[0], tt.expected)
    		})
    	}
    }
    
    func TestBasicScopes(t *testing.T) {
    	s := RegisterScope("testScope", "z")
    
    	cases := []struct {
    		f          func()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top