Skip to content

Commit f8005f5

Browse files
Merge pull request #89 from leewillis77/actual-vs-expected
Make "Expected" and "Actual" label the correct outputs in test results
2 parents 288bf4c + 94f0907 commit f8005f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-table-ascii.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,6 @@ private function assertInOutEquals(array $input, $output) {
204204
* @param mixed $expected Expected output
205205
*/
206206
private function assertOutFileEqualsWith($expected) {
207-
$this->assertStringEqualsFile($this->_mockFile, $expected);
207+
$this->assertEquals($expected, file_get_contents($this->_mockFile));
208208
}
209209
}

0 commit comments

Comments
 (0)