]> granicus.if.org Git - php/commitdiff
Add WHITESPACE_SENSITIVE run-tests section
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 10 Jan 2020 15:54:12 +0000 (16:54 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 3 Feb 2020 09:08:15 +0000 (10:08 +0100)
This is used to indicate that the test should not be changed by
automated formatting changes.

Zend/tests/bug35655.phpt
Zend/tests/nowdoc_013.phpt
run-tests.php

index bbb137799a323043bbea231f4b224a3601e2a132..47e7a7bd7e2e850322e1a32cd573c0787e5a5ad8 100644 (file)
@@ -6,6 +6,7 @@ highlight.comment = #FF8000
 highlight.keyword = #007700
 highlight.default = #0000BB
 highlight.html    = #000000
+--WHITESPACE_SENSITIVE--
 --FILE--
 <?php
 $code = '
index 3e7d41fe075667b823ba19cfcb8431866bf38df0..61543f74e3b164bd0fb61557ff7cf6b3db12be21 100644 (file)
@@ -6,6 +6,7 @@ highlight.comment = #FF8000
 highlight.keyword = #007700
 highlight.default = #0000BB
 highlight.html    = #000000
+--WHITESPACE_SENSITIVE--
 --FILE--
 <?php
 $code = <<<'EOF'
index 4de196d39d73284ce0685a700d7a96f4d676ecde..1e5287ed5dbacbce2feb4b3813402221693097de 100755 (executable)
@@ -1827,7 +1827,7 @@ TEST $file
                                'CAPTURE_STDIO', 'STDIN', 'CGI', 'PHPDBG',
                                'INI', 'ENV', 'EXTENSIONS',
                                'SKIPIF', 'XFAIL', 'XLEAK', 'CLEAN',
-                               'CREDITS', 'DESCRIPTION', 'CONFLICTS',
+                               'CREDITS', 'DESCRIPTION', 'CONFLICTS', 'WHITESPACE_SENSITIVE',
                        ))) {
                                $bork_info = 'Unknown section "' . $section . '"';
                        }