Add some tests from the spec
This commit is contained in:
parent
0285af245a
commit
46a70861d5
|
@ -1089,6 +1089,8 @@ trimmed in raw strings.
|
||||||
\"!\" = 3
|
\"!\" = 3
|
||||||
\"a^b\" = 3
|
\"a^b\" = 3
|
||||||
\"\\\"\" = 3
|
\"\\\"\" = 3
|
||||||
|
\"character encoding\" = \"value\"
|
||||||
|
\"ʎǝʞ\" = \"value\"
|
||||||
");
|
");
|
||||||
let table = Table(p.parse().unwrap());
|
let table = Table(p.parse().unwrap());
|
||||||
assert!(table.lookup("foo").is_some());
|
assert!(table.lookup("foo").is_some());
|
||||||
|
@ -1100,6 +1102,8 @@ trimmed in raw strings.
|
||||||
assert!(table.lookup("a").is_some());
|
assert!(table.lookup("a").is_some());
|
||||||
assert!(table.lookup("!").is_some());
|
assert!(table.lookup("!").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]
|
#[test]
|
||||||
|
|
Loading…
Reference in a new issue