summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-01-10 16:54:12 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-03 10:08:15 +0100
commit27fb0b28dd7cdd060e47e9c0a8c274be62ddba17 (patch)
tree5c7108f54410e3f602a28fe613a1a58109c45ab8
parentaaf9cbb7eb6fa2e1266aab26d8f6402368f2a61c (diff)
downloadphp-git-27fb0b28dd7cdd060e47e9c0a8c274be62ddba17.tar.gz
Add WHITESPACE_SENSITIVE run-tests section
This is used to indicate that the test should not be changed by automated formatting changes.
-rw-r--r--Zend/tests/bug35655.phpt1
-rw-r--r--Zend/tests/nowdoc_013.phpt1
-rwxr-xr-xrun-tests.php2
3 files changed, 3 insertions, 1 deletions
diff --git a/Zend/tests/bug35655.phpt b/Zend/tests/bug35655.phpt
index bbb137799a..47e7a7bd7e 100644
--- a/Zend/tests/bug35655.phpt
+++ b/Zend/tests/bug35655.phpt
@@ -6,6 +6,7 @@ highlight.comment = #FF8000
highlight.keyword = #007700
highlight.default = #0000BB
highlight.html = #000000
+--WHITESPACE_SENSITIVE--
--FILE--
<?php
$code = '
diff --git a/Zend/tests/nowdoc_013.phpt b/Zend/tests/nowdoc_013.phpt
index 3e7d41fe07..61543f74e3 100644
--- a/Zend/tests/nowdoc_013.phpt
+++ b/Zend/tests/nowdoc_013.phpt
@@ -6,6 +6,7 @@ highlight.comment = #FF8000
highlight.keyword = #007700
highlight.default = #0000BB
highlight.html = #000000
+--WHITESPACE_SENSITIVE--
--FILE--
<?php
$code = <<<'EOF'
diff --git a/run-tests.php b/run-tests.php
index 4de196d39d..1e5287ed5d 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -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 . '"';
}