mirror of
https://github.com/nushell/nushell.git
synced 2025-08-19 12:44:17 +02:00
Move and enable with-env test (#4489)
This commit is contained in:
@@ -243,3 +243,11 @@ fn reduce_spans() -> TestResult {
|
||||
"right here",
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn with_env_shorthand_nested_quotes() -> TestResult {
|
||||
run_test(
|
||||
r#"FOO='-arg "hello world"' echo $env | get FOO"#,
|
||||
"-arg \"hello world\"",
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user