com php-src: Update run-tests.php: run-tests.php
| From: | Xinchen Hui | Date: | Thu, 21 Apr 2016 09:38:36 +0000 |
| Subject: | com php-src: Update run-tests.php: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92059@lists.php.net to get a copy of this message | ||
Commit: e26dabd8ee8deaf1e6e371345cbbe44b43e6f8fe
Author: Eriko Torralba <Valkyrurr@users.noreply.github.com> Thu, 21 Apr 2016
17:38:36 +0800
Parents: ecf6392243b90e6c8f5597076b11b4959bac9dc1
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e26dabd8ee8deaf1e6e371345cbbe44b43e6f8fe
Log:
Update run-tests.php
code style; lack of whitespace
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index 25123c3..d17ffe4 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -2792,7 +2792,7 @@ function junit_mark_test_as($type, $file_name, $test_name, $time = null,
$messag
} elseif ('WARN' == $type) {
junit_suite_record($suite, 'test_warn');
$JUNIT['files'][$file_name]['xml'] .=
"<warning>$escaped_message</warning>\n";
- } elseif('FAIL' == $type) {
+ } elseif ('FAIL' == $type) {
junit_suite_record($suite, 'test_fail');
$JUNIT['files'][$file_name]['xml'] .= "<failure
type='$output_type'
message='$escaped_message'>$escaped_details</failure>\n";
} else {