Skip to content

Commit 58aedc8

Browse files
committed
fix: resolve undefined found variable in error_grouper_test
1 parent 36b7a5e commit 58aedc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/error_grouper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func TestFindGroup(t *testing.T) {
155155
// These won't match because "foo" and "bar" are short words not quoted
156156
// Let's use a case that will match
157157
eg.Add(`cannot find "x" in scope`, "a.go", 1, "")
158-
found = eg.FindGroup(`cannot find "y" in scope`)
158+
found := eg.FindGroup(`cannot find "y" in scope`)
159159
if found == nil {
160160
t.Fatal("FindGroup returned nil for known pattern")
161161
}

0 commit comments

Comments
 (0)