46 matches across 1 files for error lang:Go lang:Go path:processor/detector_test.go lang:Go
snippet_mode: auto · sorted by relevance
processor/detector_test.go GO 46 matches · showing 5 view file →
15
16 if ext != "css" {
17 t.Error("Expected css got", ext)
18 }
19 AllowListExtensions = []string{}
· · ·
30 possible, extension := DetectLanguage(filename)
31 if extension != wantExtension {
32 t.Errorf("DetectLanguage(%q) extension = %q, want %q", filename, extension, wantExtension)
33 }
34 if !slices.Contains(possible, "Mojo") {
· · ·
35 t.Errorf("DetectLanguage(%q) languages = %v, want Mojo", filename, possible)
36 }
37 }
· · ·
44
45 if x != "" || y == nil {
46 t.Error("Expected no match got", x)
47 }
48
· · ·
50
51 if x != "" || y == nil {
52 t.Error("Expected no match got", x)
53 }
54}
+ 41 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.