Skip to content

Commit f782275

Browse files
committed
test: fix failing tests on Unix
1 parent 85aa458 commit f782275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fn delete_command_success() -> Result<(), Box<dyn std::error::Error>> {
116116

117117
// Linux and macOS
118118
#[cfg(not(target_os = "windows"))]
119-
cmd.arg("echo 'Hello'")
119+
cmd.arg("--").arg("echo 'Hello'")
120120
.assert()
121121
.success()
122122
.stdout(predicate::str::contains("Hello"));

0 commit comments

Comments
 (0)