diff options
Diffstat (limited to 'yaml-upstream.patch')
-rw-r--r-- | yaml-upstream.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/yaml-upstream.patch b/yaml-upstream.patch new file mode 100644 index 0000000..9457a57 --- /dev/null +++ b/yaml-upstream.patch @@ -0,0 +1,22 @@ +From 534124b8227d26e0e914dabb05425ddc160d9f31 Mon Sep 17 00:00:00 2001 +From: Andy Postnikov <apostnikov@gmail.com> +Date: Fri, 10 Jun 2022 12:42:20 +0300 +Subject: [PATCH] Fix test for PHP 8.2 + +--- + tests/bug_79866.phpt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/bug_79866.phpt b/tests/bug_79866.phpt +index 8d8d62f..2189b90 100644 +--- a/tests/bug_79866.phpt ++++ b/tests/bug_79866.phpt +@@ -35,7 +35,7 @@ foreach( $floats as $idx => $float ) { + $expect = "--- {$native}\n...\n"; + $got = yaml_emit($float); + if ( $got !== $expect ) { +- echo "== FAIL! ${idx} ==\n"; ++ echo "== FAIL! {$idx} ==\n"; + echo "expected:\n{$expect}\n"; + echo "got:{$got}\n"; + } |