94 matches across 1 files for error lang:Go lang:Go lang:Go path:processor/report_test.go path:processor/report_test.go
snippet_mode: auto · sorted by relevance
processor/report_test.go GO 94 matches · showing 5 view file →
14)
15
16func writeTestFile(path, content string) error {
17 return os.WriteFile(path, []byte(content), 0o644)
18}
· · ·
37
38 if !data.GitAvailable {
39 t.Errorf("expected GitAvailable=true for fixture repo, got false")
40 }
41 if data.RepoName == "" {
· · ·
42 t.Errorf("expected RepoName to be derived from path, got empty")
43 }
44 if data.SccVersion == "" {
· · ·
45 t.Errorf("expected SccVersion to be set")
46 }
47 if data.GeneratedAt.IsZero() {
· · ·
48 t.Errorf("expected GeneratedAt to be set")
49 }
50
+ 89 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.