]> granicus.if.org Git - php/commitdiff
Fix tests
authorandy wharmby <wharmby@php.net>
Tue, 4 Aug 2009 23:16:25 +0000 (23:16 +0000)
committerandy wharmby <wharmby@php.net>
Tue, 4 Aug 2009 23:16:25 +0000 (23:16 +0000)
ext/standard/tests/strings/chunk_split_variation2.phpt

index 7e46b2e8edb34e26addd4397c19b7e9b58968865..7a6c9f6923cc94693e62f838cd986caf70a1ae6f 100644 (file)
@@ -83,12 +83,11 @@ for($count = 0; $count < count($values); $count++) {
   var_dump( chunk_split($str, $values[$count], $ending) );
 }
 
-echo "Done";
-
 //closing resource
 fclose($fp);
 
 ?>
+===DONE===
 --EXPECTF--
 *** Testing chunk_split() : with unexpected values for 'chunklen' argument ***
 -- Iteration 1 --
@@ -170,5 +169,5 @@ bool(false)
 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
 bool(false)
 -- Iteration 24 --
-string(30) "This *is ch*uklen* vari*ation*"
-Done
+string(%d) "%s"
+===DONE===