Skip to content

Commit 94f0907

Browse files
committed
Make "Expected" and "Actual" label the correct outputs in test results that use assetOutFileEqualsWith
1 parent 288bf4c commit 94f0907

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)