From 6036559d355865d3ae1f12c144951a989b71c7a7 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Fri, 25 Apr 2008 04:31:44 +0000 Subject: [PATCH] fix tests on windows --- ext/phar/tests/pharfileinfo_compression.phpt | 2 +- ext/phar/tests/pharfileinfo_getcrc32.phpt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/phar/tests/pharfileinfo_compression.phpt b/ext/phar/tests/pharfileinfo_compression.phpt index 954454b760..fbac499127 100644 --- a/ext/phar/tests/pharfileinfo_compression.phpt +++ b/ext/phar/tests/pharfileinfo_compression.phpt @@ -75,7 +75,7 @@ var_dump($b->decompress()); --CLEAN-- ---EXPECT-- +--EXPECTF-- Warning: PharFileInfo::isCompressed() expects parameter 1 to be long, array given in %spharfileinfo_compression.php on line 11 Unknown compression type specified Unknown compression type specified diff --git a/ext/phar/tests/pharfileinfo_getcrc32.phpt b/ext/phar/tests/pharfileinfo_getcrc32.phpt index 4d88737b1e..dfa12f4ca4 100644 --- a/ext/phar/tests/pharfileinfo_getcrc32.phpt +++ b/ext/phar/tests/pharfileinfo_getcrc32.phpt @@ -42,8 +42,8 @@ echo $e->getMessage() . "\n"; ===DONE=== --CLEAN-- ---EXPECT-- +--EXPECTF-- Phar entry is a directory, does not have a CRC Phar entry was not CRC checked -int(3904355907) +int(%s) ===DONE=== \ No newline at end of file -- 2.50.1