blob: 9457a57b4d65711462bc138ba705e67fe551d673 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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";
}
|