diff options
author | andy wharmby <wharmby@php.net> | 2009-08-04 23:16:25 +0000 |
---|---|---|
committer | andy wharmby <wharmby@php.net> | 2009-08-04 23:16:25 +0000 |
commit | 3eaa521ed91f41028f6d549d68a2243de88a19fa (patch) | |
tree | a30a23b70e8832cdf23f2a49e8b8ea3c7fccb693 /ext/standard/tests/strings/chunk_split_variation2.phpt | |
parent | b312b3af2e45a69bf7e812478ce47cd591743b5a (diff) | |
download | php-git-3eaa521ed91f41028f6d549d68a2243de88a19fa.tar.gz |
Fix tests
Diffstat (limited to 'ext/standard/tests/strings/chunk_split_variation2.phpt')
-rw-r--r-- | ext/standard/tests/strings/chunk_split_variation2.phpt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/standard/tests/strings/chunk_split_variation2.phpt b/ext/standard/tests/strings/chunk_split_variation2.phpt index 7e46b2e8ed..7a6c9f6923 100644 --- a/ext/standard/tests/strings/chunk_split_variation2.phpt +++ b/ext/standard/tests/strings/chunk_split_variation2.phpt @@ -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=== |