diff --git a/test/core.test.js b/test/core.test.js index 5f8068a2d3..587dd5979c 100644 --- a/test/core.test.js +++ b/test/core.test.js @@ -373,7 +373,7 @@ test('$ thrown as error', async () => { err = p } assert.ok(err.exitCode > 0) - assert.ok(err.stderr.includes('/bin/bash: wtf: command not found\n')) + assert.ok(err.stderr.includes('wtf: command not found')) assert.ok(err[inspect.custom]().includes('Command not found')) })