Skip to content

Commit

Permalink
only used to initialize the bake_compare folder
Browse files Browse the repository at this point in the history
  • Loading branch information
AD7six committed Nov 25, 2014
1 parent 830f702 commit 475d828
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/TestSuite/StringCompareTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ trait StringCompareTrait {
*/
public function assertSameAsFile($path, $result) {
$path = $this->_compareBasePath . $path;
if (!is_dir(dirname($path))) {
mkdir(dirname($path), 0777, true);
}
file_put_contents($path, $result);

$expected = file_get_contents($path);
$this->assertTextEquals($expected, $result);
Expand Down

0 comments on commit 475d828

Please sign in to comment.