mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Use better quoting for commandline args (#5271)
This commit is contained in:
@ -297,6 +297,15 @@ mod nu_commands {
|
||||
|
||||
assert_eq!(actual.out, "foo");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn better_arg_quoting() {
|
||||
let actual = nu!(cwd: ".", r#"
|
||||
nu -c "\# '"
|
||||
"#);
|
||||
|
||||
assert_eq!(actual.out, "");
|
||||
}
|
||||
}
|
||||
|
||||
mod nu_script {
|
||||
|
Reference in New Issue
Block a user