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]
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,
],
)