diff options
| author | Ondřej Surý <ondrej@sury.org> | 2013-07-22 08:22:22 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2013-07-22 08:22:22 +0200 |
| commit | d837b4550418036e76d6adb3c7dad94b1e3a5a6a (patch) | |
| tree | 1f1c808039c898d7d891975d3788531a2a6550f1 /ext/hash/tests | |
| parent | 706ac6417162d94eb701952d40df136cd9528b56 (diff) | |
| download | php-d837b4550418036e76d6adb3c7dad94b1e3a5a6a.tar.gz | |
New upstream version 5.5.1+dfsgupstream/5.5.1+dfsg
Diffstat (limited to 'ext/hash/tests')
| -rw-r--r-- | ext/hash/tests/hash_file_error.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hash/tests/hash_file_error.phpt b/ext/hash/tests/hash_file_error.phpt index 326fbd51a..de7ce55b1 100644 --- a/ext/hash/tests/hash_file_error.phpt +++ b/ext/hash/tests/hash_file_error.phpt @@ -23,8 +23,8 @@ file_put_contents( $filename, 'The quick brown fox jumped over the lazy dog.' ); echo "\n-- Testing hash_file() function with an unknown algorithm --\n"; var_dump( hash_file( 'foobar', $filename ) ); -echo "\n-- Testing hash_file() function with a non-existant file --\n"; -var_dump( hash_file( 'md5', 'nonexistant.txt' ) ); +echo "\n-- Testing hash_file() function with a non-existent file --\n"; +var_dump( hash_file( 'md5', 'nonexistent.txt' ) ); echo "\n-- Testing hash_file() function with less than expected no. of arguments --\n"; var_dump( hash_file( 'md5' ) ); @@ -50,7 +50,7 @@ unlink( $filename ); Warning: hash_file(): Unknown hashing algorithm: %s in %s on line %d bool(false) --- Testing hash_file() function with a non-existant file -- +-- Testing hash_file() function with a non-existent file -- Warning: hash_file(%s): failed to open stream: No such file or directory in %s on line %d bool(false) |
