felipe Thu, 01 Dec 2011 15:38:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320251
Log:
- Fixed tests
Changed paths:
U
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strrchr_variation5.phpt
U
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strspn_variation6.phpt
U
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strtok_variation6.phpt
U php/php-src/trunk/ext/standard/tests/strings/strrchr_variation5.phpt
U php/php-src/trunk/ext/standard/tests/strings/strspn_variation6.phpt
U php/php-src/trunk/ext/standard/tests/strings/strtok_variation6.phpt
Modified:
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strrchr_variation5.phpt
===================================================================
---
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strrchr_variation5.phpt
2011-12-01 15:09:41 UTC (rev 320250)
+++
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strrchr_variation5.phpt
2011-12-01 15:38:17 UTC (rev 320251)
@@ -34,24 +34,24 @@
?>
--EXPECTF--
*** Testing strrchr() function: with heredoc strings ***
-string(33) " st
+string(32) " st
ch
using
-\escape \seque
+scape \seque
ce"
string(9) "\seque
ce"
-string(25) "
+string(24) "
using
-\escape \seque
+scape \seque
ce"
string(9) "\seque
ce"
-string(33) " st
+string(32) " st
ch
using
-\escape \seque
+scape \seque
ce"
*** Done ***
Modified:
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strspn_variation6.phpt
===================================================================
---
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strspn_variation6.phpt
2011-12-01 15:09:41 UTC (rev 320250)
+++
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strspn_variation6.phpt
2011-12-01 15:38:17 UTC (rev 320251)
@@ -137,7 +137,7 @@
int(0)
int(0)
int(0)
-int(4)
+int(1)
int(0)
int(4)
@@ -149,7 +149,7 @@
int(0)
int(0)
int(0)
-int(4)
+int(1)
int(0)
int(4)
@@ -161,7 +161,7 @@
int(0)
int(0)
int(0)
-int(4)
+int(1)
int(0)
int(4)
@@ -173,7 +173,7 @@
int(0)
int(0)
int(0)
-int(4)
+int(1)
int(0)
int(4)
-Done
\ No newline at end of file
+Done
Modified:
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strtok_variation6.phpt
===================================================================
---
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strtok_variation6.phpt
2011-12-01 15:09:41 UTC (rev 320250)
+++
php/php-src/branches/PHP_5_4/ext/standard/tests/strings/strtok_variation6.phpt
2011-12-01 15:38:17 UTC (rev 320251)
@@ -25,7 +25,7 @@
"/ ",
"/k",
"\k",
- "\\\\\\\k\h\e\l\o\w\r\l\d"
+ "\\\\\\\k\h\\e\l\o\w\r\l\d"
);
// loop through each element of the array and check the working of strtok()
Modified: php/php-src/trunk/ext/standard/tests/strings/strrchr_variation5.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/strings/strrchr_variation5.phpt
2011-12-01 15:09:41 UTC (rev 320250)
+++ php/php-src/trunk/ext/standard/tests/strings/strrchr_variation5.phpt
2011-12-01 15:38:17 UTC (rev 320251)
@@ -34,24 +34,24 @@
?>
--EXPECTF--
*** Testing strrchr() function: with heredoc strings ***
-string(33) " st
+string(32) " st
ch
using
-\escape \seque
+scape \seque
ce"
string(9) "\seque
ce"
-string(25) "
+string(24) "
using
-\escape \seque
+scape \seque
ce"
string(9) "\seque
ce"
-string(33) " st
+string(32) " st
ch
using
-\escape \seque
+scape \seque
ce"
*** Done ***
Modified: php/php-src/trunk/ext/standard/tests/strings/strspn_variation6.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/strings/strspn_variation6.phpt
2011-12-01 15:09:41 UTC (rev 320250)
+++ php/php-src/trunk/ext/standard/tests/strings/strspn_variation6.phpt
2011-12-01 15:38:17 UTC (rev 320251)
@@ -137,7 +137,7 @@
int(0)
int(0)
int(0)
-int(4)
+int(1)
int(0)
int(4)
@@ -149,7 +149,7 @@
int(0)
int(0)
int(0)
-int(4)
+int(1)
int(0)
int(4)
@@ -161,7 +161,7 @@
int(0)
int(0)
int(0)
-int(4)
+int(1)
int(0)
int(4)
@@ -173,7 +173,7 @@
int(0)
int(0)
int(0)
-int(4)
+int(1)
int(0)
int(4)
-Done
\ No newline at end of file
+Done
Modified: php/php-src/trunk/ext/standard/tests/strings/strtok_variation6.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/strings/strtok_variation6.phpt
2011-12-01 15:09:41 UTC (rev 320250)
+++ php/php-src/trunk/ext/standard/tests/strings/strtok_variation6.phpt
2011-12-01 15:38:17 UTC (rev 320251)
@@ -25,7 +25,7 @@
"/ ",
"/k",
"\k",
- "\\\\\\\k\h\e\l\o\w\r\l\d"
+ "\\\\\\\k\h\\e\l\o\w\r\l\d"
);
// loop through each element of the array and check the working of strtok()
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php