added number

This commit is contained in:
Erin 2022-07-21 17:31:52 +02:00 committed by ondra05
parent c49b36a1e9
commit e573152513

View file

@ -85,7 +85,7 @@ mod tests {
#[test] #[test]
fn gibberish() { fn gibberish() {
assert_lex( assert_lex(
"(][)}'{\"ABLE\"corp :wisp ¨", "(][)}'{\"ABLE\"corp :wisp 6.2831853071¨",
&[ &[
LeftParen, LeftParen,
RightBracket, RightBracket,
@ -97,6 +97,7 @@ mod tests {
String("ABLE"), String("ABLE"),
Symbol("corp"), Symbol("corp"),
Keyword("wisp"), Keyword("wisp"),
Number(6.2831853071.into()),
Error, Error,
], ],
) )