[lexer] Update failing integer lexing test after fixing #12

This commit is contained in:
Eryn Wells 2018-09-05 17:36:29 -07:00
parent e139cf0c6b
commit c8de135d2f

View file

@ -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);
}