mirror of
https://github.com/nushell/nushell
synced 2024-12-30 15:03:25 +00:00
Switch to cross-platform fail message
This commit is contained in:
parent
402a4acd7a
commit
595fc7a7f6
1 changed files with 2 additions and 2 deletions
|
@ -438,7 +438,7 @@ fn module_import_uses_internal_command() -> TestResult {
|
||||||
fn module_import_does_not_parse_with_incorrect_delimiter() -> TestResult {
|
fn module_import_does_not_parse_with_incorrect_delimiter() -> TestResult {
|
||||||
fail_test(
|
fail_test(
|
||||||
r#"module foo { export def a [] { 1 } }; use foo:.a"#,
|
r#"module foo { export def a [] { 1 } }; use foo:.a"#,
|
||||||
"not found",
|
not_found_msg(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -446,7 +446,7 @@ fn module_import_does_not_parse_with_incorrect_delimiter() -> TestResult {
|
||||||
fn module_import_does_not_parse_with_missing_tail() -> TestResult {
|
fn module_import_does_not_parse_with_missing_tail() -> TestResult {
|
||||||
fail_test(
|
fail_test(
|
||||||
r#"module foo { export def a [] { 1 } }; use foo::"#,
|
r#"module foo { export def a [] { 1 } }; use foo::"#,
|
||||||
"not found",
|
not_found_msg(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue