com php-src: fix test for libzip 1.2.0: ext/zip/tests/bug70322.phpt

[email protected] (Remi Collet)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    c836ad1c7eac2a142cc334ea9cf9975bcd0d6f77
Author:    Remi Collet <[email protected]>         Sun, 19 Feb 2017 17:02:00 +0100
Parents:   1623ef10c968b2c902f3d4b01955fddeca84dab6
Branches:  PHP-7.0 PHP-7.1 master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=c836ad1c7eac2a142cc334ea9cf9975bcd0d6f77

Log:
fix test for libzip 1.2.0

Changed paths:
  M  ext/zip/tests/bug70322.phpt


Diff:
diff --git a/ext/zip/tests/bug70322.phpt b/ext/zip/tests/bug70322.phpt
index a9b4915..b089e30 100644
--- a/ext/zip/tests/bug70322.phpt
+++ b/ext/zip/tests/bug70322.phpt
@@ -25,5 +25,5 @@ var_dump($zip->close());
 @unlink(__DIR__ . '/bug70322.zip');
 ?>
 --EXPECTF--
-Warning: ZipArchive::close(): Read error: No such file or directory in %s%ebug70322.php on line %d
+Warning: ZipArchive::close(): %s: No such file or directory in %s%ebug70322.php on line %d
 bool(false)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.