Skip to content

Commit 2e2a099

Browse files
committed
expand bash assertion
1 parent c0df2e2 commit 2e2a099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/exec-utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe("execFileWithInput integration tests", () => {
2222
await execFileWithInput("bash", "nonexistentcommand", {});
2323
fail("Should have thrown an error");
2424
} catch (error: any) {
25-
expect(error.stderr).toContain("nonexistentcommand");
25+
expect(error.stderr).toContain("bash: line 1: nonexistentcommand: command not found");
2626
expect(error.message).toBeTruthy();
2727
}
2828
});

0 commit comments

Comments
 (0)