From: Antony Dovgal Date: Tue, 19 Dec 2006 13:11:30 +0000 (+0000) Subject: fix test on MacOS X-Git-Tag: RELEASE_1_0_0RC1~645 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5edb5a75eca2a36c3399031a9e4b41642846c93;p=php fix test on MacOS --- diff --git a/ext/pcre/tests/002.phpt b/ext/pcre/tests/002.phpt index c6dcd95cb5..0fffdf2438 100644 --- a/ext/pcre/tests/002.phpt +++ b/ext/pcre/tests/002.phpt @@ -57,7 +57,7 @@ unicode(12) "a${1b${1c${1" Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 8 in %s002.php on line 11 NULL -Parse error: %s, unexpected T_FOR in %s002.php(12) : regexp code on line 1 +Parse error: %s in %s002.php(12) : regexp code on line 1 Fatal error: preg_replace(): Failed evaluating code: for ($ in %s002.php on line 12 diff --git a/sapi/cli/tests/011.phpt b/sapi/cli/tests/011.phpt index d026757556..212bcdd381 100644 --- a/sapi/cli/tests/011.phpt +++ b/sapi/cli/tests/011.phpt @@ -52,7 +52,7 @@ string(%d) "No syntax errors detected in %s011.test.php string(40) "Could not open input file: some.unknown " string(%d) " -Parse error: %s error, unexpected T_PRIVATE, expecting '{' in %s on line %d +Parse error: %s expecting %s{%s in %s on line %d Errors parsing %s011.test.php " Done