]> granicus.if.org Git - php/commitdiff
Update run-tests.php
authorEriko Torralba <Valkyrurr@users.noreply.github.com>
Thu, 21 Apr 2016 09:38:36 +0000 (17:38 +0800)
committerEriko Torralba <Valkyrurr@users.noreply.github.com>
Thu, 21 Apr 2016 09:38:36 +0000 (17:38 +0800)
code style; lack of whitespace

run-tests.php

index 25123c319f06efa23db9d9ae15fd443f31ee0ac5..d17ffe4baf4e30c9e9ce6bd72bb04ac2a43eb8ce 100755 (executable)
@@ -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 {