com php-src: Fixed tests: ext/dba/tests/dba013.phpt ext/dba/tests/dba014.phpt
| From: | Dmitry Stogov | Date: | Tue, 05 Jul 2016 08:30:55 +0000 |
| Subject: | com php-src: Fixed tests: ext/dba/tests/dba013.phpt ext/dba/tests/dba014.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92788@lists.php.net to get a copy of this message | ||
Commit: 818a47c24a90243893e97dbc7c2e833667d5e670
Author: Dmitry Stogov <dmitry@zend.com> Tue, 5 Jul 2016 11:30:55 +0300
Parents: 14bdd8246c50b55d1ddf838b45de34065e8613c4
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=818a47c24a90243893e97dbc7c2e833667d5e670
Log:
Fixed tests
Changed paths:
M ext/dba/tests/dba013.phpt
M ext/dba/tests/dba014.phpt
Diff:
diff --git a/ext/dba/tests/dba013.phpt b/ext/dba/tests/dba013.phpt
index bf95642..8e37b26 100644
--- a/ext/dba/tests/dba013.phpt
+++ b/ext/dba/tests/dba013.phpt
@@ -24,4 +24,8 @@ require(dirname(__FILE__) .'/clean.inc');
--EXPECTF--
database handler: %s
-Catchable fatal error: dba_insert(): Key does not have exactly two elements: (key, name) in
%sdba013.php on line %d
+Fatal error: Uncaught Error: Key does not have exactly two elements: (key, name) in %sdba013.php:6
+Stack trace:
+#0 %sdba013.php(6): dba_insert(Array, '%s', Resource id #%d)
+#1 {main}
+ thrown in %sdba013.php on line 6
diff --git a/ext/dba/tests/dba014.phpt b/ext/dba/tests/dba014.phpt
index 7e52be7..f08fff2 100644
--- a/ext/dba/tests/dba014.phpt
+++ b/ext/dba/tests/dba014.phpt
@@ -24,4 +24,8 @@ require(dirname(__FILE__) .'/clean.inc');
--EXPECTF--
database handler: %s
-Catchable fatal error: dba_insert(): Key does not have exactly two elements: (key, name) in
%sdba014.php on line %d
+Fatal error: Uncaught Error: Key does not have exactly two elements: (key, name) in %sdba014.php:6
+Stack trace:
+#0 %sdba014.php(6): dba_insert(Array, '%s', Resource id #%d)
+#1 {main}
+ thrown in %sdba014.php on line 6