Use *.data for tests data files
authorPeter Kokot <peterkokot@gmail.com>
Fri, 17 May 2019 17:04:43 +0000 (19:04 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Fri, 17 May 2019 17:04:43 +0000 (19:04 +0200)
ext/iconv/tests/Quotes.UTF-8.data [moved from ext/iconv/tests/Quotes.UTF-8 with 100% similarity]
ext/iconv/tests/translit-utf8.phpt
ext/recode/tests/002.phpt
ext/recode/tests/html.data [moved from ext/recode/tests/html.raw with 100% similarity]

index e8924349dea0dbfdb73d7a9332884065485c8b95..d25cd76d714ea3d4cab21b0c1633d8808f227e14 100644 (file)
@@ -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));
index 17fef3f0ff77deeb2b3e2385236e4d7275704cdb..8f2902551e856ec2b22e15b359eadd38abde1337 100644 (file)
@@ -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);