added number

main
ondra05 2022-07-21 17:31:52 +02:00
parent 1c524fdb1c
commit 45c5a33478
1 changed files with 2 additions and 1 deletions

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