@@ 265-267 (lines=3) @@ | ||
262 | public function itShouldFail($success) |
|
263 | { |
|
264 | if ('fail' === $success) { |
|
265 | if (0 === $this->getExitCode()) { |
|
266 | echo 'Actual output:' . PHP_EOL . PHP_EOL . $this->getOutput(); |
|
267 | } |
|
268 | ||
269 | expect($this->getExitCode())->toBe(0); |
|
270 | } else { |
|
@@ 271-273 (lines=3) @@ | ||
268 | ||
269 | expect($this->getExitCode())->toBe(0); |
|
270 | } else { |
|
271 | if (0 !== $this->getExitCode()) { |
|
272 | echo 'Actual output:' . PHP_EOL . PHP_EOL . $this->getOutput(); |
|
273 | } |
|
274 | ||
275 | expect($this->getExitCode())->toBe(0); |
|
276 | } |