summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-10-31 14:12:07 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-10-31 14:12:07 -0300
commitd6223b31784d45d996fe290647bb862706483e38 (patch)
treeddc9dac0ee378efd1a3d1f712c6fa05525c2f624 /src
parent7e37d5094bf9fdc47b6bf966e5b0568f695f34aa (diff)
Rephrase test
Diffstat (limited to 'src')
-rw-r--r--src/vm/de.rs4
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();