[lexer] Update failing integer lexing test after fixing #12
This commit is contained in:
parent
e139cf0c6b
commit
c8de135d2f
1 changed files with 1 additions and 2 deletions
|
@ -77,7 +77,6 @@ fn bool_with_spaces() {
|
|||
fn integer() {
|
||||
let mut lex = Lexer::new("23 42".chars());
|
||||
assert_eq!(lex.next(), Some(Ok(Lex::new(Token::Num(23), "23", 0, 0))));
|
||||
// TODO: Fix this once issue #12 is fixed.
|
||||
assert_eq!(lex.next(), Some(Ok(Lex::new(Token::Num(42), " 42", 0, 0))));
|
||||
assert_eq!(lex.next(), Some(Ok(Lex::new(Token::Num(42), "42", 0, 0))));
|
||||
assert_eq!(lex.next(), None);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue