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:
Andrej Kolchin
2023-12-15 06:53:19 +00:00
committed by GitHub
parent 5b01685fc3
commit 78f52e8b66
2 changed files with 6 additions and 9 deletions

View File

@ -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)
}
}