Skip to content

Commit 2b9c7f8

Browse files
committed
fix tests
1 parent aa23bc6 commit 2b9c7f8

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

ext/iconv/tests/iconv_basic_001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
55
--SKIPIF--
66
<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
77
<?php if(substr(PHP_OS, 0, 3) == 'WIN' ) {die('skip not for windows');} ?>
8-
<?php if(setlocale(LC_ALL, "en_US.utf8",) === false) { die('skip en_US.utf8 locales not available'); } ?>
8+
<?php if(setlocale(LC_ALL, "en_US.utf8") === false) { die('skip en_US.utf8 locales not available'); } ?>
99
--FILE--
1010
<?php
1111
setlocale(LC_ALL, "en_US.utf8");

ext/phar/tests/bug69453.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ $r = new Phar($fname, 0);
1414

1515
==DONE==
1616
--EXPECTF--
17-
exception 'UnexpectedValueException' with message 'phar error: "%s/bug69453.tar.phar" is a corrupted tar file (checksum mismatch of file "")' in %s:%d
17+
exception 'UnexpectedValueException' with message 'phar error: "%s%ebug69453.tar.phar" is a corrupted tar file (checksum mismatch of file "")' in %s:%d
1818
Stack trace:
19-
#0 %s/bug69453.php(%d): Phar->__construct('%s', 0)
19+
#0 %s%ebug69453.php(%d): Phar->__construct('%s', 0)
2020
#1 {main}
21-
==DONE==
21+
==DONE==

ext/phar/tests/create_path_error.phpt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ string(5) "query"
7575
6:
7676
7:
7777
8:
78-
9:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" contains illegal character
79-
10:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" contains illegal character
80-
11:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" contains illegal character
81-
12:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" contains illegal character
82-
13:Error: file_put_contents(phar:///%s): failed to open stream: phar error: invalid path "%s" contains illegal character
78+
9:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contains illegal character
79+
10:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contains illegal character
80+
11:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contains illegal character
81+
12:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contains illegal character
82+
13:Error: file_put_contents(phar://%s): failed to open stream: phar error: invalid path "%s" contains illegal character
8383
Exception: Entry a does not exist and cannot be created: phar error: invalid path "a" contains illegal character
8484
===DONE===
8585

0 commit comments

Comments
 (0)