Skip to content

Commit d6b9d53

Browse files
committed
Fix tests which had an ASAN skip
1 parent 0428bff commit d6b9d53

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

ext/phar/tests/cache_list/frontcontroller31.phpt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,5 @@ REQUEST_URI=/frontcontroller31.php
1616
Content-type: text/html; charset=UTF-8
1717
--FILE_EXTERNAL--
1818
files/frontcontroller16.phar
19-
--EXPECTF--
20-
Fatal error: Uncaught TypeError: Phar::webPhar(): Argument #5 ($rewrite) must be a valid callback or null, class "fail" not found in %s:%d
21-
Stack trace:
22-
#0 %s(%d): Phar::webPhar('test.phar', '/index.php', NULL, Array, Array)
23-
#1 {main}
24-
thrown in %s on line %d
19+
--EXPECT--
20+
TypeError: Phar::webPhar(): Argument #5 ($rewrite) must be a valid callback or null, class "fail" not found

ext/phar/tests/cache_list/frontcontroller32.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ REQUEST_URI=/frontcontroller32.php
1616
Content-type: text/html; charset=UTF-8
1717
--FILE_EXTERNAL--
1818
files/frontcontroller17.phar
19-
--EXPECTF--
20-
%ahar error: rewrite callback must return a string or false
19+
--EXPECT--
20+
TypeError: Rewrite callback return value must be of type string|false, null returned

ext/phar/tests/cache_list/frontcontroller33.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Content-type: text/html; charset=UTF-8
1717
--FILE_EXTERNAL--
1818
files/frontcontroller18.phar
1919
--EXPECT--
20-
phar error: rewrite callback must return a string or false
20+
TypeError: Rewrite callback return value must be of type string|false, null returned

0 commit comments

Comments
 (0)