From: Marcus Boerger Date: Tue, 9 Jan 2007 03:03:47 +0000 (+0000) Subject: - Fix test X-Git-Tag: RELEASE_1_0_0RC1~339 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bfece705f3681bbbf78bd948c72616d10926347;p=php - Fix test --- diff --git a/ext/phar/tests/create_new_and_modify.phpt b/ext/phar/tests/create_new_and_modify.phpt index 445c256c33..27a2fb60e5 100755 --- a/ext/phar/tests/create_new_and_modify.phpt +++ b/ext/phar/tests/create_new_and_modify.phpt @@ -13,15 +13,15 @@ $pname = 'phar://' . $fname; @unlink($fname); -file_put_contents($pname . '/a.php', 'brand new!\n'); +file_put_contents($pname . '/a.php', "brand new!\n"); $phar = new Phar($fname); $sig1 = $phar->getSignature(); include $pname . '/a.php'; -file_put_contents($pname .'/a.php', 'modified!\n'); -file_put_contents($pname .'/b.php', 'another!\n'); +file_put_contents($pname .'/a.php', "modified!\n"); +file_put_contents($pname .'/b.php', "another!\n"); $phar = new Phar($fname); $sig2 = $phar->getSignature(); @@ -38,9 +38,9 @@ include $pname . '/b.php'; --CLEAN-- --EXPECTF-- -string(40) "%s" brand new! string(40) "%s" +string(40) "%s" bool(true) modified! another!