From bd1bd38a3579a6507551a2cfa34713cdc92cf081 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 17 May 2019 03:59:23 +0200 Subject: [PATCH] Use *.data for fixture files --- ext/zlib/tests/bug73944.phpt | 4 ++-- .../{bug73944_fixture1 => bug73944_fixture_1.data} | Bin .../{bug73944_fixture2 => bug73944_fixture_2.data} | Bin 3 files changed, 2 insertions(+), 2 deletions(-) rename ext/zlib/tests/{bug73944_fixture1 => bug73944_fixture_1.data} (100%) rename ext/zlib/tests/{bug73944_fixture2 => bug73944_fixture_2.data} (100%) 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 -- 2.40.0