summaryrefslogtreecommitdiffstats
path: root/0001-fix-tests-expectation-for-8.4.0alpha1.patch
blob: 74e2473a4e3d87e77d26b37d2db2c4967cc0d06f (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
44
45
46
47
48
49
50
51
52
53
From b70cd8c7ecdec41092c504ad3dba820d389c2928 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Mon, 15 Jul 2024 15:50:31 +0200
Subject: [PATCH] fix tests expectation for 8.4.0alpha1

---
 tests/33-bevent-read-cb-exception.phpt  | 2 +-
 tests/33-bevent-write-cb-exception.phpt | 2 +-
 tests/61-issue.phpt                     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/33-bevent-read-cb-exception.phpt b/tests/33-bevent-read-cb-exception.phpt
index 2b0c4b3..cbf07d2 100644
--- a/tests/33-bevent-read-cb-exception.phpt
+++ b/tests/33-bevent-read-cb-exception.phpt
@@ -34,7 +34,7 @@ Warning: EventBase::loop(): Breaking the loop due to exception RuntimeException
 
 Fatal error: Uncaught RuntimeException: from EventBufferEvent callback in %s/33-bevent-read-cb-exception.php:%d
 Stack trace:
-#0 [internal function]: {closure}(Object(EventBufferEvent), NULL)
+#0 [internal function]: {closur%s}(Object(EventBufferEvent), NULL)
 #1 %s/33-bevent-read-cb-exception.php(%d): %SEventBase->loop()
 #2 {main}
 %wthrown in %s/33-bevent-read-cb-exception.php on line %d
diff --git a/tests/33-bevent-write-cb-exception.phpt b/tests/33-bevent-write-cb-exception.phpt
index a84d074..b326282 100644
--- a/tests/33-bevent-write-cb-exception.phpt
+++ b/tests/33-bevent-write-cb-exception.phpt
@@ -34,7 +34,7 @@ Warning: EventBase::loop(): Breaking the loop due to exception RuntimeException
 
 Fatal error: Uncaught RuntimeException: from EventBufferEvent callback in %s/33-bevent-write-cb-exception.php:%d
 Stack trace:
-#0 [internal function]: {closure}(Object(EventBufferEvent), NULL)
+#0 [internal function]: {closur%s}(Object(EventBufferEvent), NULL)
 #1 %s/33-bevent-write-cb-exception.php(%d): %SEventBase->loop()
 #2 {main}
 %wthrown in %s/33-bevent-write-cb-exception.php on line %d
diff --git a/tests/61-issue.phpt b/tests/61-issue.phpt
index 812e52f..bb29012 100644
--- a/tests/61-issue.phpt
+++ b/tests/61-issue.phpt
@@ -24,7 +24,7 @@ Warning: EventBase::loop(): Breaking the loop due to exception Exception in %s o
 
 Fatal error: Uncaught Exception: issue61 in %s/61-issue.php:%d
 Stack trace:
-#0 [internal function]: {closure}(-1, 1, NULL)
+#0 [internal function]: {closur%s}(-1, 1, NULL)
 #1 %s/61-issue.php(%d): %SEventBase->loop()
 #2 {main}
   thrown in %s/61-issue.php on line %d
-- 
2.45.2