diff --git a/src/go/scanner/scanner_test.go b/src/go/scanner/scanner_test.go index ab4c2dd9623..db095b3da63 100644 --- a/src/go/scanner/scanner_test.go +++ b/src/go/scanner/scanner_test.go @@ -628,7 +628,7 @@ func TestInvalidLineDirectives(t *testing.T) { } if S.ErrorCount != len(invalidSegments) { - t.Errorf("go %d errors; want %d", S.ErrorCount, len(invalidSegments)) + t.Errorf("got %d errors; want %d", S.ErrorCount, len(invalidSegments)) } }