diff --git a/lib/Cake/Test/Case/Utility/FileTest.php b/lib/Cake/Test/Case/Utility/FileTest.php index 85a759e00..6f77062a4 100644 --- a/lib/Cake/Test/Case/Utility/FileTest.php +++ b/lib/Cake/Test/Case/Utility/FileTest.php @@ -396,7 +396,7 @@ class FileTest extends CakeTestCase { public function testWrite() { if (!$tmpFile = $this->_getTmpFile()) { return false; - }; + } if (file_exists($tmpFile)) { unlink($tmpFile); } @@ -426,7 +426,7 @@ class FileTest extends CakeTestCase { public function testAppend() { if (!$tmpFile = $this->_getTmpFile()) { return false; - }; + } if (file_exists($tmpFile)) { unlink($tmpFile); }