From d6223b31784d45d996fe290647bb862706483e38 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Mon, 31 Oct 2022 14:12:07 -0300 Subject: Rephrase test --- src/vm/de.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vm/de.rs') diff --git a/src/vm/de.rs b/src/vm/de.rs index c0bc853..734101d 100644 --- a/src/vm/de.rs +++ b/src/vm/de.rs @@ -1381,9 +1381,9 @@ mod tests { // use a parsed pattern with subtrees to test Packer // also test a non-self-describing format (postcard) // also require at least one subtree to match on every iteration. - // (also this test fails) + // also this checks for validation error let consts = crate::parser::parse::<&'static str, &'static str, ()>( - ":map((->['name'?]name:u32)?(->['value'?]value:u32)?)(->[:str]:u32)", + ":map((->['name'?]name)?(->['value'?]value)?)(->[:str]:u32)", None, None, ).unwrap(); -- cgit 1.4.1