Make param parsing more resilient, correct missing param error (#4470)

This commit is contained in:
JT
2022-02-14 12:33:47 -05:00
committed by GitHub
parent f3d3e819fb
commit fbaafaa459
2 changed files with 20 additions and 6 deletions

View File

@@ -304,3 +304,8 @@ fn capture_row_condition() -> TestResult {
"foo",
)
}
#[test]
fn proper_missing_param() -> TestResult {
fail_test(r#"def foo [x y z w] { }; foo a b c"#, "missing w")
}