118 matches across 1 files for error lang:Go path:processor/formatters_test.go
snippet_mode: grep · sorted by relevance
processor/formatters_test.go GO 118 matches · showing 5 view file →
20
21 if !strings.Contains(str.String(), "Estimated Schedule Effort (organic) 0.22 months") {
22 t.Error("expected to match got", str.String())
23 }
24}
· · ·
30
31 if !strings.Contains(str.String(), "Processed 1 bytes, 0.000 megabytes (SI)") {
32 t.Error("expected to match got", str.String())
33 }
34}
· · ·
41 // The byte count is locale-grouped like every other number in the output.
42 if !strings.Contains(str.String(), "Processed 1,000,000 bytes, 1.000 megabytes (SI)") {
43 t.Error("expected to match got", str.String())
44 }
45}
· · ·
57 // expectation year-independent.
58 if got := xkcdKbDivisor(2026); got != float64(1024*1024) {
59 t.Errorf("xkcdKbDivisor(2026) = %v, want %d (non-leap, 1024-based)", got, 1024*1024)
60 }
61 if got := xkcdKbDivisor(2024); got != 1_000_000.0 {
· · ·
62 t.Errorf("xkcdKbDivisor(2024) = %v, want 1000000 (leap, 1000-based)", got)
63 }
64
+ 113 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.