diff --git a/pkg/scanner/scanner_test.go b/pkg/scanner/scanner_test.go index 20b08c1..735afc6 100644 --- a/pkg/scanner/scanner_test.go +++ b/pkg/scanner/scanner_test.go @@ -373,6 +373,7 @@ func TestScanner_NextToken(t *testing.T) { sc := scanner.New(tt.input) i := 0 + for { actual := sc.NextToken() expected := tt.expected[i]