diff options
Diffstat (limited to 'src/vm/de.rs')
-rw-r--r-- | src/vm/de.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |