Skip to content

Commit

Permalink
Merge pull request #68 from hason/test
Browse files Browse the repository at this point in the history
Fixed creation of a temporary directory in the test
  • Loading branch information
arnaud-lb committed Sep 17, 2014
2 parents 540d026 + 2c6752a commit 4db071a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/MtHaml/Tests/Support/Php/ExecutorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private function tempdir($root)

for ($i = 0; $i < 100; $i++) {
$name = bin2hex(pack('d', rand()));
if (mkdir($name)) {
if (mkdir($root . '/' . $name)) {
return $root . '/' . $name;
}
}
Expand Down

0 comments on commit 4db071a

Please sign in to comment.