diff --git a/tests/repl/test_stdlib.rs b/tests/repl/test_stdlib.rs index b15a10dd22..71188e4053 100644 --- a/tests/repl/test_stdlib.rs +++ b/tests/repl/test_stdlib.rs @@ -7,5 +7,5 @@ fn not_loaded() -> TestResult { #[test] fn use_command() -> TestResult { - run_test_std("use std/assert; assert true; print 'it works'", "it works") + run_test_std("use ([ std, assert ] | path join); assert true; print 'it works'", "it works") } diff --git a/tests/shell/environment/env.rs b/tests/shell/environment/env.rs index 35692fdee9..a78f4594b5 100644 --- a/tests/shell/environment/env.rs +++ b/tests/shell/environment/env.rs @@ -224,7 +224,7 @@ fn std_log_env_vars_are_not_overridden() { ("NU_LOG_DATE_FORMAT".to_string(), "%Y".to_string()), ], r#" - use std/log + use ([ std, log] | path join) print -e $env.NU_LOG_FORMAT print -e $env.NU_LOG_DATE_FORMAT log error "err" @@ -237,7 +237,7 @@ fn std_log_env_vars_are_not_overridden() { fn std_log_env_vars_have_defaults() { let actual = nu_with_std!( r#" - use std/log + use ([ std, log] | path join) print -e $env.NU_LOG_FORMAT print -e $env.NU_LOG_DATE_FORMAT "#