summaryrefslogtreecommitdiffstats
path: root/37.patch
blob: da4592930b5c280fce49d9a04347563d4ddfedfb (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
37
38
39
40
41
42
43
From a31d3bc709321b784ecd93c983b476a0a298bfa0 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 30 Sep 2020 09:46:18 +0200
Subject: [PATCH] relax test for 8.0.0RC1

---
 tests/cnn_face_detection_ctor_error.phpt      | 2 +-
 tests/face_landmark_detection_ctor_error.phpt | 2 +-
 tests/face_recognition_ctor_error.phpt        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/cnn_face_detection_ctor_error.phpt b/tests/cnn_face_detection_ctor_error.phpt
index 3535448..385e307 100644
--- a/tests/cnn_face_detection_ctor_error.phpt
+++ b/tests/cnn_face_detection_ctor_error.phpt
@@ -11,5 +11,5 @@ try {
 }
 ?>
 --EXPECTF--
-string(68) "CnnFaceDetection::__construct() expects exactly 1 parameter, 0 given"
+string(%d) "CnnFaceDetection::__construct() expects exactly 1 %s, 0 given"
 
diff --git a/tests/face_landmark_detection_ctor_error.phpt b/tests/face_landmark_detection_ctor_error.phpt
index 2a717db..1f783f2 100644
--- a/tests/face_landmark_detection_ctor_error.phpt
+++ b/tests/face_landmark_detection_ctor_error.phpt
@@ -16,5 +16,5 @@ try {
 }
 ?>
 --EXPECTF--
-string(73) "FaceLandmarkDetection::__construct() expects exactly 1 parameter, 0 given"
+string(%d) "FaceLandmarkDetection::__construct() expects exactly 1 %s, 0 given"
 string(45) "Unable to open non-existent file for reading."
diff --git a/tests/face_recognition_ctor_error.phpt b/tests/face_recognition_ctor_error.phpt
index c06ed39..237f2b0 100644
--- a/tests/face_recognition_ctor_error.phpt
+++ b/tests/face_recognition_ctor_error.phpt
@@ -11,4 +11,4 @@ try {
 }
 ?>
 --EXPECTF--
-string(67) "FaceRecognition::__construct() expects exactly 1 parameter, 0 given"
+string(%d) "FaceRecognition::__construct() expects exactly 1 %s, 0 given"