Skip to content

Commit

Permalink
test for EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Aug 5, 2024
1 parent 9de25c1 commit 6aa1940
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ mod tests {
i
);
}
assert_eq!(lexer.next_token(), Token::EndOfFile, "input: {:?}", input,);
}

#[test]
Expand Down

0 comments on commit 6aa1940

Please sign in to comment.