felipe Sat Aug 30 22:16:29 2008 UTC
Modified files:
/php-src/ext/standard/tests/file fpassthru_error.phpt
fscanf_error.phpt
/php-src/ext/standard/tests/serialize serialization_error_001.phpt
/php-src/ext/standard/tests/strings implode1.phpt
Log:
- Fixed tests
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/fpassthru_error.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/file/fpassthru_error.phpt
diff -u php-src/ext/standard/tests/file/fpassthru_error.phpt:1.3
php-src/ext/standard/tests/file/fpassthru_error.phpt:1.4
--- php-src/ext/standard/tests/file/fpassthru_error.phpt:1.3 Tue May 27
09:34:53 2008
+++ php-src/ext/standard/tests/file/fpassthru_error.phpt Sat Aug 30
22:16:29 2008
@@ -28,13 +28,13 @@
Warning: fread() expects parameter 1 to be resource, Unicode string given in
%s on line %d
-Warning: fpassthru(): supplied argument is not a valid stream resource in %s
on line %d
-bool(false)
+Warning: fpassthru() expects parameter 1 to be resource, null given in %s on
line %d
+NULL
-Warning: Wrong parameter count for fpassthru() in %s on line %d
+Warning: fpassthru() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for fpassthru() in %s on line %d
+Warning: fpassthru() expects exactly 1 parameter, 2 given in %s on line %d
NULL
*** Done ***
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/fscanf_error.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/file/fscanf_error.phpt
diff -u php-src/ext/standard/tests/file/fscanf_error.phpt:1.3
php-src/ext/standard/tests/file/fscanf_error.phpt:1.4
--- php-src/ext/standard/tests/file/fscanf_error.phpt:1.3 Tue May 27
09:34:53 2008
+++ php-src/ext/standard/tests/file/fscanf_error.phpt Sat Aug 30 22:16:29 2008
@@ -66,10 +66,10 @@
Notice: fwrite(): 11 character unicode buffer downcoded for binary stream
runtime_encoding in %s on line %d
-Warning: Wrong parameter count for fscanf() in %s on line %d
+Warning: fscanf() expects at least 2 parameters, 0 given in %s on line %d
NULL
-Warning: Wrong parameter count for fscanf() in %s on line %d
+Warning: fscanf() expects at least 2 parameters, 1 given in %s on line %d
NULL
Warning: fscanf(): 6 is not a valid File-Handle resource in %s on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/serialize/serialization_error_001.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/serialize/serialization_error_001.phpt
diff -u php-src/ext/standard/tests/serialize/serialization_error_001.phpt:1.3
php-src/ext/standard/tests/serialize/serialization_error_001.phpt:1.4
--- php-src/ext/standard/tests/serialize/serialization_error_001.phpt:1.3
Tue May 27 07:45:40 2008
+++ php-src/ext/standard/tests/serialize/serialization_error_001.phpt Sat Aug
30 22:16:29 2008
@@ -28,15 +28,15 @@
--EXPECTF--
*** Testing serialize()/unserialize() : error conditions ***
-Warning: Wrong parameter count for serialize() in %s on line 16
+Warning: serialize() expects exactly 1 parameter, 0 given in %s on line %d
NULL
-Warning: unserialize() expects exactly 1 parameter, 0 given in %s on line 17
+Warning: unserialize() expects exactly 1 parameter, 0 given in %s on line %d
bool(false)
-Warning: Wrong parameter count for serialize() in %s on line 20
+Warning: serialize() expects exactly 1 parameter, 2 given in %s on line %d
NULL
-Warning: unserialize() expects exactly 1 parameter, 2 given in %s on line 21
+Warning: unserialize() expects exactly 1 parameter, 2 given in %s on line %d
bool(false)
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/implode1.phpt?r1=1.7&r2=1.8&diff_format=u
Index: php-src/ext/standard/tests/strings/implode1.phpt
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php