com php-src: Wrong expectation in test (for some reason backtrace misses gc_collect_cycles() call): Zend/tests/gc_0 30.phpt
| From: | Dmitry Stogov | Date: | Mon, 07 Jul 2014 13:17:42 +0000 |
| Subject: | com php-src: Wrong expectation in test (for some reason backtrace misses gc_collect_cycles() call): Zend/tests/gc_0 30.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79264@lists.php.net to get a copy of this message | ||
Commit: 2f316a775d8d5dd08f1a26cfda6e9e1fce910f52
Author: Dmitry Stogov <dmitry@zend.com> Mon, 7 Jul 2014 17:17:42 +0400
Parents: 70a112e51b2a1297f87881760039c3b89abadc66
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2f316a775d8d5dd08f1a26cfda6e9e1fce910f52
Log:
Wrong expectation in test (for some reason backtrace misses gc_collect_cycles() call)
Changed paths:
M Zend/tests/gc_030.phpt
Diff:
diff --git a/Zend/tests/gc_030.phpt b/Zend/tests/gc_030.phpt
index ef044e0..4dff71a 100644
--- a/Zend/tests/gc_030.phpt
+++ b/Zend/tests/gc_030.phpt
@@ -28,6 +28,7 @@ Stack trace:
Next exception 'Exception' with message 'foobar' in %sgc_030.php:%d
Stack trace:
-#0 %sgc_030.php(%d): foo->__destruct()
-#1 {main}
+#0 [internal function]: foo->__destruct()
+#1 %sgc_030.php(%d): gc_collect_cycles()
+#2 {main}
thrown in %sgc_030.php on line %d