mirror of
https://github.com/nushell/nushell.git
synced 2025-04-30 08:04:25 +02:00
Attempt to fix Windows paths in CI
This commit is contained in:
parent
d5ac168578
commit
d2b3556914
@ -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")
|
||||
}
|
||||
|
@ -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
|
||||
"#
|
||||
|
Loading…
Reference in New Issue
Block a user