diff --git a/src/lexer.rs b/src/lexer.rs index f1b6b1f..87ecd25 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -85,7 +85,7 @@ mod tests { #[test] fn gibberish() { assert_lex( - "(][)}'{\"ABLE\"corp :wisp ¨", + "(][)}'{\"ABLE\"corp :wisp 6.2831853071¨", &[ LeftParen, RightBracket, @@ -97,6 +97,7 @@ mod tests { String("ABLE"), Symbol("corp"), Keyword("wisp"), + Number(6.2831853071.into()), Error, ], )