more bnf testing

This commit is contained in:
Greg Shuflin 2022-10-22 17:07:19 -07:00
parent a2845cecc8
commit 60141dd766
1 changed files with 3 additions and 0 deletions

View File

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