aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 9e5bc15..8bb7bf1 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -1089,6 +1089,8 @@ trimmed in raw strings.
\"!\" = 3
\"a^b\" = 3
\"\\\"\" = 3
+ \"character encoding\" = \"value\"
+ \"ʎǝʞ\" = \"value\"
");
let table = Table(p.parse().unwrap());
assert!(table.lookup("foo").is_some());
@@ -1100,6 +1102,8 @@ trimmed in raw strings.
assert!(table.lookup("a").is_some());
assert!(table.lookup("!").is_some());
assert!(table.lookup("\"").is_some());
+ assert!(table.lookup("character encoding").is_some());
+ assert!(table.lookup("ʎǝʞ").is_some());
}
#[test]