summaryrefslogtreecommitdiff
path: root/ext/zip/tests/oo_getnameindex.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/tests/oo_getnameindex.phpt')
-rw-r--r--ext/zip/tests/oo_getnameindex.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/zip/tests/oo_getnameindex.phpt b/ext/zip/tests/oo_getnameindex.phpt
index 838a5a91b1..0ed563f447 100644
--- a/ext/zip/tests/oo_getnameindex.phpt
+++ b/ext/zip/tests/oo_getnameindex.phpt
@@ -14,7 +14,7 @@ $file = $dirname . 'oo_getnameindex.zip';
$zip = new ZipArchive;
if (!$zip->open($file, ZIPARCHIVE::CREATE)) {
- exit('failed');
+ exit('failed');
}
$zip->addFromString('entry1.txt', 'entry #1');
@@ -22,12 +22,12 @@ $zip->addFromString('entry2.txt', 'entry #2');
$zip->addFromString('dir/entry2d.txt', 'entry #2');
if (!$zip->status == ZIPARCHIVE::ER_OK) {
- echo "failed to write zip\n";
+ echo "failed to write zip\n";
}
$zip->close();
if (!$zip->open($file)) {
- exit('failed');
+ exit('failed');
}