15 matches across 1 files for error lang:Go lang:Go path:processor/trace_test.go
snippet_mode: auto · sorted by relevance
processor/trace_test.go GO 15 matches · showing 5 view file →
9func TestTraceLevel(t *testing.T) {
10 if levelTrace.String() != "TRACE" {
11 t.Errorf("traceLevel format error: got %s, want TRACE", levelTrace.String())
12 }
13 if levelDebug.String() != "DEBUG" {
· · ·
14 t.Errorf("traceLevel format error: got %s, want DEBUG", levelDebug.String())
15 }
16 if levelWarn.String() != "WARN" {
· · ·
17 t.Errorf("traceLevel format error: got %s, want WARN", levelWarn.String())
18 }
19 if levelError.String() != "ERROR" {
· · ·
19 if levelError.String() != "ERROR" {
20 t.Errorf("traceLevel format error: got %s, want ERROR", levelError.String())
21 }
· · ·
20 t.Errorf("traceLevel format error: got %s, want ERROR", levelError.String())
21 }
22 if traceLevel(0).String() != "" {
+ 10 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.