1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/php82-pecl-yaml/fix-test.patch
2022-12-10 19:38:03 +00:00

15 lines
497 B
Diff

Patch-Source: https://github.com/php/pecl-file_formats-yaml/pull/67
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";
}