Remove useless change to test/run
Experimental attempt to make sure test output does not contain non ASCII characters is actually completely useless because it sanitizes an integer. Remove it.
Esse commit está contido em:
@@ -13,7 +13,6 @@
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
//force unit test run
|
||||
|
||||
#include "hphp/runtime/debugger/break_point.h"
|
||||
#include "hphp/runtime/debugger/debugger.h"
|
||||
|
||||
+2
-2
@@ -572,7 +572,7 @@ function run_test($options, $test) {
|
||||
# a poor man's aide for debugging
|
||||
shell_exec("diff --text -u $test.expectf $test.out > $test.diff 2>&1");
|
||||
|
||||
return quoted_printable_encode(preg_match("/^$wanted_re\$/s", $output));
|
||||
return preg_match("/^$wanted_re\$/s", $output);
|
||||
|
||||
} else if (file_exists("$test.expectregex")) {
|
||||
$wanted_re = file_get_contents("$test.expectregex");
|
||||
@@ -580,7 +580,7 @@ function run_test($options, $test) {
|
||||
# a poor man's aide for debugging
|
||||
shell_exec("diff --text -u $test.expectregex $test.out > $test.diff 2>&1");
|
||||
|
||||
return quoted_printable_encode(preg_match("/^$wanted_re\$/s", $output));
|
||||
return preg_match("/^$wanted_re\$/s", $output);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário