From: Peter Kokot Date: Fri, 17 May 2019 01:59:23 +0000 (+0200) Subject: Use *.data for fixture files X-Git-Tag: php-7.4.0alpha1~248 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd1bd38a3579a6507551a2cfa34713cdc92cf081;p=php Use *.data for fixture files --- diff --git a/ext/zlib/tests/bug73944.phpt b/ext/zlib/tests/bug73944.phpt index 61be632b5c..b23a9bafd3 100644 --- a/ext/zlib/tests/bug73944.phpt +++ b/ext/zlib/tests/bug73944.phpt @@ -6,11 +6,11 @@ Bug #73944: Dictionary option of intflate_init() does not work str_repeat("\00", 32768))); -$a = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture1')); +$a = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture_1.data')); echo '1 block: '.strlen($a).PHP_EOL; $in = inflate_init(ZLIB_ENCODING_RAW, array('dictionary' => $a)); -$b = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture2')); +$b = inflate_add($in, file_get_contents(__DIR__.'/bug73944_fixture_2.data')); echo '2 block: '.($b === false ? 'failed' : strlen($b)).PHP_EOL; ?> diff --git a/ext/zlib/tests/bug73944_fixture1 b/ext/zlib/tests/bug73944_fixture_1.data similarity index 100% rename from ext/zlib/tests/bug73944_fixture1 rename to ext/zlib/tests/bug73944_fixture_1.data diff --git a/ext/zlib/tests/bug73944_fixture2 b/ext/zlib/tests/bug73944_fixture_2.data similarity index 100% rename from ext/zlib/tests/bug73944_fixture2 rename to ext/zlib/tests/bug73944_fixture_2.data