diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-05-17 19:04:43 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-05-17 19:04:43 +0200 |
commit | 83bfbc290376da07a4aa51595b9eaad7e608f0f6 (patch) | |
tree | 0d7c86cb0c4ec97fa3e39ad94a8a461829913aad | |
parent | d3c95db18c5aac75e5ee1ed57942cb6d6b6d8dde (diff) | |
download | php-git-83bfbc290376da07a4aa51595b9eaad7e608f0f6.tar.gz |
Use *.data for tests data files
-rw-r--r-- | ext/iconv/tests/Quotes.UTF-8.data (renamed from ext/iconv/tests/Quotes.UTF-8) | 0 | ||||
-rw-r--r-- | ext/iconv/tests/translit-utf8.phpt | 2 | ||||
-rw-r--r-- | ext/recode/tests/002.phpt | 4 | ||||
-rw-r--r-- | ext/recode/tests/html.data (renamed from ext/recode/tests/html.raw) | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/ext/iconv/tests/Quotes.UTF-8 b/ext/iconv/tests/Quotes.UTF-8.data index 3d48ee970a..3d48ee970a 100644 --- a/ext/iconv/tests/Quotes.UTF-8 +++ b/ext/iconv/tests/Quotes.UTF-8.data diff --git a/ext/iconv/tests/translit-utf8.phpt b/ext/iconv/tests/translit-utf8.phpt index e8924349de..d25cd76d71 100644 --- a/ext/iconv/tests/translit-utf8.phpt +++ b/ext/iconv/tests/translit-utf8.phpt @@ -10,7 +10,7 @@ error_reporting=2047 --FILE-- <?php //error_reporting(E_ALL); -$utf = implode('', file(__DIR__.'/Quotes.UTF-8')); +$utf = implode('', file(__DIR__.'/Quotes.UTF-8.data')); print(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $utf)); print(iconv("UTF-8", "ASCII//TRANSLIT", $utf)); diff --git a/ext/recode/tests/002.phpt b/ext/recode/tests/002.phpt index 17fef3f0ff..8f2902551e 100644 --- a/ext/recode/tests/002.phpt +++ b/ext/recode/tests/002.phpt @@ -14,8 +14,8 @@ function ascii2hex($ascii) { return $hex; } -$html_file = fopen(realpath(__DIR__) . '/html.raw', 'r'); -$utf_8_filepath = realpath(__DIR__) . '/utf8.raw'; +$html_file = fopen(realpath(__DIR__) . '/html.data', 'r'); +$utf_8_filepath = realpath(__DIR__) . '/utf8.tmp'; $utf_8_file = fopen($utf_8_filepath, 'w+'); recode_file('html..utf8', $html_file, $utf_8_file); diff --git a/ext/recode/tests/html.raw b/ext/recode/tests/html.data index 64ecf1331f..64ecf1331f 100644 --- a/ext/recode/tests/html.raw +++ b/ext/recode/tests/html.data |