|
@@ 124-126 (lines=3) @@
|
| 121 |
|
public function itShouldFail($success) |
| 122 |
|
{ |
| 123 |
|
if ('fail' === $success) { |
| 124 |
|
if (0 === $this->getExitCode()) { |
| 125 |
|
echo 'Actual output:' . PHP_EOL . PHP_EOL . $this->getOutput(); |
| 126 |
|
} |
| 127 |
|
|
| 128 |
|
PHPUnit_Framework_Assert::assertNotEquals(0, $this->getExitCode()); |
| 129 |
|
} else { |
|
@@ 130-132 (lines=3) @@
|
| 127 |
|
|
| 128 |
|
PHPUnit_Framework_Assert::assertNotEquals(0, $this->getExitCode()); |
| 129 |
|
} else { |
| 130 |
|
if (0 !== $this->getExitCode()) { |
| 131 |
|
echo 'Actual output:' . PHP_EOL . PHP_EOL . $this->getOutput(); |
| 132 |
|
} |
| 133 |
|
|
| 134 |
|
PHPUnit_Framework_Assert::assertEquals(0, $this->getExitCode()); |
| 135 |
|
} |