Add WHITESPACE_SENSITIVE run-tests section

This is used to indicate that the test should not be changed by
automated formatting changes.
This commit is contained in:
Nikita Popov 2020-01-10 16:54:12 +01:00
parent aaf9cbb7eb
commit 27fb0b28dd
3 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,7 @@ highlight.comment = #FF8000
highlight.keyword = #007700
highlight.default = #0000BB
highlight.html = #000000
--WHITESPACE_SENSITIVE--
--FILE--
<?php
$code = '

View file

@ -6,6 +6,7 @@ highlight.comment = #FF8000
highlight.keyword = #007700
highlight.default = #0000BB
highlight.html = #000000
--WHITESPACE_SENSITIVE--
--FILE--
<?php
$code = <<<'EOF'

View file

@ -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 . '"';
}