- Fixed tests.

This commit is contained in:
Derick Rethans 2008-07-16 07:35:56 +00:00
parent 161882af63
commit ae2c8698ac
3 changed files with 19 additions and 10 deletions

View File

@ -29,9 +29,11 @@ array(12) {
[u"fraction"]=>
float(0)
[u"warning_count"]=>
int(0)
int(1)
[u"warnings"]=>
array(0) {
array(1) {
[20]=>
unicode(27) "The parsed date was invalid"
}
[u"error_count"]=>
int(0)

View File

@ -18,9 +18,10 @@ Array
[minute] => 0
[second] => 0
[fraction] => 0
[warning_count] => 0
[warning_count] => 1
[warnings] => Array
(
[22] => The parsed date was invalid
)
[error_count] => 1

View File

@ -89,9 +89,11 @@ array(15) {
[u"fraction"]=>
bool(false)
[u"warning_count"]=>
int(0)
int(1)
[u"warnings"]=>
array(0) {
array(1) {
[12]=>
unicode(27) "The parsed date was invalid"
}
[u"error_count"]=>
int(1)
@ -125,9 +127,11 @@ array(12) {
[u"fraction"]=>
bool(false)
[u"warning_count"]=>
int(0)
int(1)
[u"warnings"]=>
array(0) {
array(1) {
[11]=>
unicode(27) "The parsed date was invalid"
}
[u"error_count"]=>
int(0)
@ -181,9 +185,11 @@ array(12) {
[u"fraction"]=>
bool(false)
[u"warning_count"]=>
int(0)
int(1)
[u"warnings"]=>
array(0) {
array(1) {
[8]=>
unicode(27) "The parsed date was invalid"
}
[u"error_count"]=>
int(0)
@ -298,6 +304,6 @@ array(12) {
bool(false)
}
Warning: date_parse() expects parameter 1 to be binary string, array given in %s on line %d
Warning: date_parse() expects parameter 1 to be binary string, array given in /home/derick/dev/php/php-6.0dev/ext/date/tests/date_parse_001.php on line 11
bool(false)
Done