From c161744df791a1a3e66062ab515e087ef0428841 Mon Sep 17 00:00:00 2001 From: Devyn Cairns Date: Thu, 25 Jul 2024 02:32:27 -0700 Subject: [PATCH] add test suggested by @WindSoilder --- tests/repl/test_engine.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/repl/test_engine.rs b/tests/repl/test_engine.rs index 0acc5957c3..90dd1e86b0 100644 --- a/tests/repl/test_engine.rs +++ b/tests/repl/test_engine.rs @@ -77,7 +77,11 @@ fn in_used_twice_and_also_in_pipeline() -> TestResult { // #13441 #[test] -fn in_used_in_range() -> TestResult { +fn in_used_in_range_from() -> TestResult { + run_test(r#"6 | $in..10 | math sum"#, "40") +} +#[test] +fn in_used_in_range_to() -> TestResult { run_test(r#"6 | 3..$in | math sum"#, "18") }