mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 22:37:54 +02:00
Allow for and other commands missing positionals near keywords (#606)
* Allow for and other commands missing positionals near keywords * A bit more resilience
This commit is contained in:
@ -118,3 +118,8 @@ fn long_flag() -> TestResult {
|
||||
fn let_not_statement() -> TestResult {
|
||||
fail_test(r#"let x = "hello" | str length"#, "can't")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn for_in_missing_var_name() -> TestResult {
|
||||
fail_test("for in", "missing")
|
||||
}
|
||||
|
Reference in New Issue
Block a user