aboutsummaryrefslogtreecommitdiff
path: root/driver/lexer/lexer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'driver/lexer/lexer_test.go')
-rw-r--r--driver/lexer/lexer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/lexer/lexer_test.go b/driver/lexer/lexer_test.go
index 247cc73..66efe1f 100644
--- a/driver/lexer/lexer_test.go
+++ b/driver/lexer/lexer_test.go
@@ -876,7 +876,7 @@ func TestLexer_Next_WithPosition(t *testing.T) {
// the line number where a lexeme first appears.
withPos(newTokenDefault(1, 1, []byte{0x0A, 0x0A, 0x0A}), 3, 6),
- withPos(newEOFTokenDefault(), 0, 0),
+ withPos(newEOFTokenDefault(), 6, 0),
}
lexer, err := NewLexer(NewLexSpec(clspec), strings.NewReader(src))