tony2001 Wed Nov 7 12:07:59 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/array asort_variation3.phpt
max_variation1.phpt
max_variation2.phpt
sort_variation3.phpt
Log:
fix tests
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/asort_variation3.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/standard/tests/array/asort_variation3.phpt
diff -u php-src/ext/standard/tests/array/asort_variation3.phpt:1.1.2.2
php-src/ext/standard/tests/array/asort_variation3.phpt:1.1.2.3
--- php-src/ext/standard/tests/array/asort_variation3.phpt:1.1.2.2 Mon Nov
5 16:37:45 2007
+++ php-src/ext/standard/tests/array/asort_variation3.phpt Wed Nov 7
12:07:59 2007
@@ -273,9 +273,9 @@
bool(true)
array(7) {
[7]=>
- float(-2147483649)
+ %s(-2147483649)
[4]=>
- float(-2147483648)
+ %s(-2147483648)
[3]=>
int(-2147483647)
[6]=>
@@ -285,15 +285,15 @@
[1]=>
int(2147483647)
[2]=>
- float(2147483648)
+ %s(2147483648)
}
- Sort_flag = SORT_REGULAR -
bool(true)
array(7) {
[7]=>
- float(-2147483649)
+ %s(-2147483649)
[4]=>
- float(-2147483648)
+ %s(-2147483648)
[3]=>
int(-2147483647)
[6]=>
@@ -303,15 +303,15 @@
[1]=>
int(2147483647)
[2]=>
- float(2147483648)
+ %s(2147483648)
}
- Sort_flag = SORT_NUMERIC -
bool(true)
array(7) {
[7]=>
- float(-2147483649)
+ %s(-2147483649)
[4]=>
- float(-2147483648)
+ %s(-2147483648)
[3]=>
int(-2147483647)
[6]=>
@@ -321,6 +321,6 @@
[1]=>
int(2147483647)
[2]=>
- float(2147483648)
+ %s(2147483648)
}
Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/max_variation1.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/standard/tests/array/max_variation1.phpt
diff -u php-src/ext/standard/tests/array/max_variation1.phpt:1.1.4.3
php-src/ext/standard/tests/array/max_variation1.phpt:1.1.4.4
--- php-src/ext/standard/tests/array/max_variation1.phpt:1.1.4.3 Fri Oct
26 16:08:34 2007
+++ php-src/ext/standard/tests/array/max_variation1.phpt Wed Nov 7
12:07:59 2007
@@ -25,8 +25,8 @@
*** Testing boundary conditions ***
int(2147483646)
-float(2147483648)
-float(2147483648)
+%s(2147483648)
+%s(2147483648)
int(-2147483646)
int(-2147483647)
int(-2147483647)
@@ -34,4 +34,4 @@
*** Testing large number of arguments ***
int(21)
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/max_variation2.phpt?r1=1.1.4.3&r2=1.1.4.4&diff_format=u
Index: php-src/ext/standard/tests/array/max_variation2.phpt
diff -u php-src/ext/standard/tests/array/max_variation2.phpt:1.1.4.3
php-src/ext/standard/tests/array/max_variation2.phpt:1.1.4.4
--- php-src/ext/standard/tests/array/max_variation2.phpt:1.1.4.3 Fri Oct
26 16:08:34 2007
+++ php-src/ext/standard/tests/array/max_variation2.phpt Wed Nov 7
12:07:59 2007
@@ -46,10 +46,10 @@
int(3)
}
int(2147483646)
-float(2147483648)
-float(2147483648)
+%s(2147483648)
+%s(2147483648)
int(-2147483646)
int(-2147483647)
int(-2147483647)
-Done
\ No newline at end of file
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/sort_variation3.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/standard/tests/array/sort_variation3.phpt
diff -u php-src/ext/standard/tests/array/sort_variation3.phpt:1.1.4.2
php-src/ext/standard/tests/array/sort_variation3.phpt:1.1.4.3
--- php-src/ext/standard/tests/array/sort_variation3.phpt:1.1.4.2 Mon Nov
5 15:38:03 2007
+++ php-src/ext/standard/tests/array/sort_variation3.phpt Wed Nov 7
12:07:59 2007
@@ -275,9 +275,9 @@
bool(true)
array(7) {
[0]=>
- float(-2147483649)
+ %s(-2147483649)
[1]=>
- float(-2147483648)
+ %s(-2147483648)
[2]=>
int(-2147483647)
[3]=>
@@ -287,15 +287,15 @@
[5]=>
int(2147483647)
[6]=>
- float(2147483648)
+ %s(2147483648)
}
- Sort flag = SORT_REGULAR -
bool(true)
array(7) {
[0]=>
- float(-2147483649)
+ %s(-2147483649)
[1]=>
- float(-2147483648)
+ %s(-2147483648)
[2]=>
int(-2147483647)
[3]=>
@@ -305,15 +305,15 @@
[5]=>
int(2147483647)
[6]=>
- float(2147483648)
+ %s(2147483648)
}
- Sort flag = SORT_NUMERIC -
bool(true)
array(7) {
[0]=>
- float(-2147483649)
+ %s(-2147483649)
[1]=>
- float(-2147483648)
+ %s(-2147483648)
[2]=>
int(-2147483647)
[3]=>
@@ -323,6 +323,6 @@
[5]=>
int(2147483647)
[6]=>
- float(2147483648)
+ %s(2147483648)
}
Done
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php