more bnf testing
This commit is contained in:
parent
a2845cecc8
commit
60141dd766
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user