fix test - metadata works now

This commit is contained in:
Greg Beaver 2008-04-16 04:16:20 +00:00
parent 8c4477cde5
commit 398bcf4dd0

View File

@ -24,6 +24,7 @@ foreach($files as $name => $cont) {
var_dump(file_get_contents($p2name.'/'.$name));
}
copy($f2name, $fname);
$phar = new Phar($fname);
$phar->startBuffering();
$phar['a']->setMetadata(42);
@ -38,9 +39,7 @@ $phar->stopBuffering();
unset($phar);
copy($f2name, $fname);
$phar = new Phar($fname2);
$phar = new Phar($fname);
foreach($files as $name => $cont) {
var_dump(file_get_contents($pname.'/'.$name));