mirror of
https://github.com/starship/starship.git
synced 2024-12-23 23:58:51 +01:00
fix: make echo test use /bin/sh (#892)
This commit is contained in:
parent
8e9d9409cf
commit
752abd4bfb
@ -102,9 +102,9 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn exec_with_output_stdout() {
|
||||
let result = internal_exec_cmd("/bin/echo", &["-n", "hello"]);
|
||||
let result = internal_exec_cmd("/bin/sh", &["-c", "echo hello"]);
|
||||
let expected = Some(CommandOutput {
|
||||
stdout: String::from("hello"),
|
||||
stdout: String::from("hello\n"),
|
||||
stderr: String::from(""),
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user