thekid Mon Nov 10 11:52:52 2008 UTC
Modified files:
/php-src/ext/sybase_ct/tests test_msghandler.phpt
Log:
- MFB: Fixed expected warning messages
# Changed during migration to parameter parsing API
http://cvs.php.net/viewvc.cgi/php-src/ext/sybase_ct/tests/test_msghandler.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/sybase_ct/tests/test_msghandler.phpt
diff -u php-src/ext/sybase_ct/tests/test_msghandler.phpt:1.3
php-src/ext/sybase_ct/tests/test_msghandler.phpt:1.4
--- php-src/ext/sybase_ct/tests/test_msghandler.phpt:1.3 Fri Aug 10
13:28:11 2007
+++ php-src/ext/sybase_ct/tests/test_msghandler.phpt Mon Nov 10 11:52:52 2008
@@ -6,7 +6,7 @@
<?php
/* This file is part of PHP test framework for ext/sybase_ct
*
- * $Id: test_msghandler.phpt,v 1.3 2007/08/10 13:28:11 jani Exp $
+ * $Id: test_msghandler.phpt,v 1.4 2008/11/10 11:52:52 thekid Exp $
*/
require('test.inc');
@@ -26,15 +26,15 @@
?>
--EXPECTF--
Nonexistant:
-Warning: sybase_set_message_handler(): First argumented is expected to be a
valid callback, 'function_does_not_exist' was given in %stest.inc on line %d
-bool(false)
+Warning: sybase_set_message_handler() expects parameter 1 to be a valid
callback, function 'function_does_not_exist' not found or invalid function name
in %stest.inc on line %d
+NULL
Static method: bool(true)
Instance method: bool(true)
Lambda function: bool(true)
Unset: bool(true)
Incorrect type:
-Warning: sybase_set_message_handler(): First argumented is expected to be
either NULL, an array or string, integer given in %stest.inc on line %d
-bool(false)
+Warning: sybase_set_message_handler() expects parameter 1 to be a valid
callback, no array or string given in %stest.inc on line %d
+NULL
Function: bool(true)
>>> Query: select getdate(NULL)
*** Caught Sybase Server Message #%d [Severity %d, state %d] at line %d
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php