From 60141dd766c5276ab1c98ba2061719a008575cc2 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Sat, 22 Oct 2022 17:07:19 -0700 Subject: [PATCH] more bnf testing --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index acc8164..d1e33c1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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); }