We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1301c34 + 83264b6 commit a71b8a1Copy full SHA for a71b8a1
Tests/Messenger/RunProcessMessageHandlerTest.php
@@ -33,7 +33,7 @@ public function testRunFailedProcess()
33
(new RunProcessMessageHandler())(new RunProcessMessage(['invalid']));
34
} catch (RunProcessFailedException $e) {
35
$this->assertSame(['invalid'], $e->context->command);
36
- $this->assertSame(127, $e->context->exitCode);
+ $this->assertSame('\\' === \DIRECTORY_SEPARATOR ? 1 : 127, $e->context->exitCode);
37
38
return;
39
}
0 commit comments