summaryrefslogtreecommitdiffstats
path: root/0001-fix-tests-expectation-for-8.4.0alpha1.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-fix-tests-expectation-for-8.4.0alpha1.patch')
-rw-r--r--0001-fix-tests-expectation-for-8.4.0alpha1.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/0001-fix-tests-expectation-for-8.4.0alpha1.patch b/0001-fix-tests-expectation-for-8.4.0alpha1.patch
new file mode 100644
index 0000000..74e2473
--- /dev/null
+++ b/0001-fix-tests-expectation-for-8.4.0alpha1.patch
@@ -0,0 +1,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
+