mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 23:37:48 +02:00
Replace bash with POSIX sh in tests (#11293)
Just my small pet peeve. This allows to run tests without bash installed. There were only two minor tests which required a change.
This commit is contained in:
@ -927,9 +927,9 @@ mod test {
|
||||
|
||||
#[test]
|
||||
fn argument_with_inner_quotes_test() {
|
||||
let input = r#"bash -c 'echo a'"#.into();
|
||||
let input = r#"sh -c 'echo a'"#.into();
|
||||
let res = remove_quotes(input);
|
||||
|
||||
assert_eq!("bash -c 'echo a'", res)
|
||||
assert_eq!("sh -c 'echo a'", res)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user