summaryrefslogtreecommitdiff
path: root/src/parse/tests.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-01-04 17:19:49 +0100
committerLaurenz <laurmaedje@gmail.com>2021-01-04 17:23:52 +0100
commit77c06ebc24ab3a43dc2268763ff8f10963f875b4 (patch)
tree344636fbd070f9e62946c22083cb4364958af64e /src/parse/tests.rs
parent32af3095f810c25d402b8d00917051cc832d63f6 (diff)
None literal 🕳
Diffstat (limited to 'src/parse/tests.rs')
-rw-r--r--src/parse/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/tests.rs b/src/parse/tests.rs
index d01d09a5..8de03aff 100644
--- a/src/parse/tests.rs
+++ b/src/parse/tests.rs
@@ -614,6 +614,7 @@ fn test_parse_values() {
t!("{name}" Block(Id("name")));
t!("{ke-bab}" Block(Id("ke-bab")));
t!("{α}" Block(Id("α")));
+ t!("{none}" Block(Expr::Lit(Lit::None)));
t!("{true}" Block(Bool(true)));
t!("{false}" Block(Bool(false)));
t!("{1.0e-4}" Block(Float(1e-4)));