Skip to content

Commit 495ee92

Browse files
committed
Fix tests
1 parent 8d4a6bf commit 495ee92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/tests/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ async fn command_substitution() {
223223
.run()
224224
.await;
225225
TestBuilder::new()
226-
.command("$(sleep 0.1 && echo 1 && exit 5 &) ; echo 2")
226+
.command("set +e\n$(sleep 0.1 && echo 1 && exit 5 &) ; echo 2")
227227
.assert_stdout("2\n")
228228
.assert_stderr("1: command not found\n")
229229
.run()

0 commit comments

Comments
 (0)