more bnf testing

This commit is contained in:
Greg Shuflin 2022-10-22 17:07:19 -07:00
parent a2845cecc8
commit 60141dd766

View File

@ -226,6 +226,9 @@ mod tests {
#[test] #[test]
fn bnf_representation() { fn bnf_representation() {
let bnf = json_value().bnf().unwrap();
assert_eq!(bnf, Bnf::Production);
let bnf = json_object().bnf().unwrap(); let bnf = json_object().bnf().unwrap();
assert_eq!(bnf, Bnf::Production); assert_eq!(bnf, Bnf::Production);
} }