From 4fbd46e31483cd089f346853436fb4b40365fc5e Mon Sep 17 00:00:00 2001 From: arnaudberger <arnaudberger84@gmail.com> Date: Fri, 17 May 2024 11:19:47 -0400 Subject: [PATCH] Add more tests --- substreams/src/expr_parser.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/substreams/src/expr_parser.rs b/substreams/src/expr_parser.rs index 7973156..9a1c158 100644 --- a/substreams/src/expr_parser.rs +++ b/substreams/src/expr_parser.rs @@ -139,6 +139,8 @@ mod tests { #[case(TEST_KEYS, "test10 && test:8", false)] #[case(TEST_KEYS, "(test10 && test_9) || (test.7 && test:8)", true)] #[case(TEST_KEYS, "(test10 && test_9) || (test.7 && test*19z_|)", true)] + #[case(TEST_KEYS, "(test10 && test_9) || test*19z || (test.7 && test*19z_|)", true)] + #[case(TEST_KEYS, "(test10 && test_9) || test*19z && (test.7 && test*19z_|)", false)] #[case(TEST_KEYS, "test1 || test", true)] #[case(TEST_KEYS, "test1 || test6", true)]