mirror of
https://github.com/nushell/nushell.git
synced 2025-08-19 04:06:39 +02:00
def argument check (#604)
* def argument check * corrected test * clippy error
This commit is contained in:
@@ -47,7 +47,7 @@ fn def_twice_should_fail() -> TestResult {
|
||||
|
||||
#[test]
|
||||
fn missing_parameters() -> TestResult {
|
||||
fail_test(r#"def foo {}"#, "expected [")
|
||||
fail_test(r#"def foo {}"#, "Missing required positional")
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user