mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
update tests
This commit is contained in:
parent
af94da4371
commit
6ae94ef513
1 changed files with 2 additions and 2 deletions
|
@ -386,7 +386,7 @@ fn use_def_import_after_hide() -> TestResult {
|
|||
#[ignore]
|
||||
fn use_env_import_after_hide() -> TestResult {
|
||||
run_test(
|
||||
r#"module spam { export env foo { "foo" } }; use spam foo; hide-env foo; use spam foo; $env.foo"#,
|
||||
r#"module spam { export-env { let-env foo = "foo" } }; overlay use spam; hide-env foo; overlay use spam; $env.foo"#,
|
||||
"foo",
|
||||
)
|
||||
}
|
||||
|
@ -419,7 +419,7 @@ fn hides_all_decls_within_scope() -> TestResult {
|
|||
#[ignore]
|
||||
fn hides_all_envs_within_scope() -> TestResult {
|
||||
fail_test(
|
||||
r#"module spam { export env foo { "bar" } }; let-env foo = "foo"; use spam foo; hide-env foo; $env.foo"#,
|
||||
r#"module spam { export-env { let-env foo = "bar" } }; let-env foo = "foo"; overlay use spam; hide-env foo; $env.foo"#,
|
||||
"did you mean",
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue