cvs: ZendEngine2 /tests array_append_COW.phpt array_unshift_COW.phpt double_to_string_64bit.phpt
| From: | Antony Dovgal | Date: | Fri, 13 Jul 2007 15:42:31 +0000 |
| Subject: | cvs: ZendEngine2 /tests array_append_COW.phpt array_unshift_COW.phpt double_to_string_64bit.phpt | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5902@lists.php.net to get a copy of this message | ||
tony2001 Fri Jul 13 15:42:31 2007 UTC
Modified files:
/ZendEngine2/tests array_append_COW.phpt array_unshift_COW.phpt
double_to_string_64bit.phpt
Log:
fix tests
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/array_append_COW.phpt?r1=1.1&r2=1.2&diff_format=u
Index: ZendEngine2/tests/array_append_COW.phpt
diff -u ZendEngine2/tests/array_append_COW.phpt:1.1 ZendEngine2/tests/array_append_COW.phpt:1.2
--- ZendEngine2/tests/array_append_COW.phpt:1.1 Mon Jul 9 13:18:03 2007
+++ ZendEngine2/tests/array_append_COW.phpt Fri Jul 13 15:42:31 2007
@@ -1,6 +1,5 @@
--TEST--
- Tests that array manipulation code is correctly dealing with copy on write and
- splitting on reference.
+Tests that array manipulation code is correctly dealing with copy on write and splitting on
reference.
--FILE--
<?php
$a=array();
@@ -19,4 +18,4 @@
array(1) {
[0]=>
int(1)
-}
\ No newline at end of file
+}
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/array_unshift_COW.phpt?r1=1.1&r2=1.2&diff_format=u
Index: ZendEngine2/tests/array_unshift_COW.phpt
diff -u ZendEngine2/tests/array_unshift_COW.phpt:1.1 ZendEngine2/tests/array_unshift_COW.phpt:1.2
--- ZendEngine2/tests/array_unshift_COW.phpt:1.1 Mon Jul 9 13:18:03 2007
+++ ZendEngine2/tests/array_unshift_COW.phpt Fri Jul 13 15:42:31 2007
@@ -1,6 +1,5 @@
--TEST--
- Tests that array unshift code is correctly dealing with copy on write and
- splitting on reference.
+Tests that array unshift code is correctly dealing with copy on write and splitting on reference.
--FILE--
<?php
$a=array();
@@ -19,4 +18,4 @@
array(1) {
[0]=>
int(1)
-}
\ No newline at end of file
+}
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/double_to_string_64bit.phpt?r1=1.2&r2=1.3&diff_format=u
Index: ZendEngine2/tests/double_to_string_64bit.phpt
diff -u ZendEngine2/tests/double_to_string_64bit.phpt:1.2
ZendEngine2/tests/double_to_string_64bit.phpt:1.3
--- ZendEngine2/tests/double_to_string_64bit.phpt:1.2 Mon May 7 22:12:56 2007
+++ ZendEngine2/tests/double_to_string_64bit.phpt Fri Jul 13 15:42:31 2007
@@ -56,3 +56,24 @@
string(7) "1.0E+37"
string(1) "0"
Done
+--UEXPECTF--
+unicode(7) "2.9E+37"
+unicode(18) "290000000000000000"
+unicode(15) "290000000000000"
+unicode(14) "29000000000000"
+unicode(14) "29000000000000"
+unicode(14) "29000000000001"
+unicode(13) "29000.7123123"
+unicode(15) "239234242.71231"
+unicode(16) "0.12345678901235"
+unicode(7) "1.0E+46"
+unicode(7) "1.0E+33"
+unicode(18) "100000000000000001"
+unicode(19) "1000006000000000011"
+unicode(15) "100000000000001"
+unicode(11) "10000000000"
+unicode(18) "999999999999999999"
+unicode(7) "1.0E+19"
+unicode(7) "1.0E+37"
+unicode(1) "0"
+Done