summaryrefslogtreecommitdiffstats
path: root/169.patch
blob: 351ada290b249df501c793d64495f5fc05864ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From eedeeb06c4fc02c0d28bf1aab3a1622666a52de2 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Fri, 1 Sep 2023 10:11:30 +0200
Subject: [PATCH] relax test for 8.3

---
 tests/comparison_root/003_php8.phpt | 2 +-
 tests/comparison_root/004_php8.phpt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/comparison_root/003_php8.phpt b/tests/comparison_root/003_php8.phpt
index 8f814df..1539aac 100644
--- a/tests/comparison_root/003_php8.phpt
+++ b/tests/comparison_root/003_php8.phpt
@@ -14,7 +14,7 @@ $result = $jsonPath->find($data, "$");
 var_dump($result);
 ?>
 --EXPECTF--
-Fatal error: Uncaught TypeError: JsonPath\JsonPath::find(): Argument #1 ($data) must be of type array, bool given in %s003_php8.php:%d
+Fatal error: Uncaught TypeError: JsonPath\JsonPath::find(): Argument #1 ($data) must be of type array, %s given in %s003_php8.php:%d
 Stack trace:
 %s
 %s
diff --git a/tests/comparison_root/004_php8.phpt b/tests/comparison_root/004_php8.phpt
index 4fd994f..69275b9 100644
--- a/tests/comparison_root/004_php8.phpt
+++ b/tests/comparison_root/004_php8.phpt
@@ -14,7 +14,7 @@ $result = $jsonPath->find($data, "$");
 var_dump($result);
 ?>
 --EXPECTF--
-Fatal error: Uncaught TypeError: JsonPath\JsonPath::find(): Argument #1 ($data) must be of type array, bool given in %s004_php8.php:%d
+Fatal error: Uncaught TypeError: JsonPath\JsonPath::find(): Argument #1 ($data) must be of type array, %s given in %s004_php8.php:%d
 Stack trace:
 %s
 %s