mirror of
https://github.com/nushell/nushell.git
synced 2025-08-26 01:05:25 +02:00
Make param parsing more resilient, correct missing param error (#4470)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user