summaryrefslogtreecommitdiff
path: root/ext/hash/tests
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2013-07-13 13:37:04 +0100
committerStanislav Malyshev <stas@php.net>2013-07-15 00:19:49 -0700
commit1b06e0be96774eeb59a59b80476213a8b98a8fdc (patch)
treec4fe348b1f1ca872dbf58a6c643534e92be25715 /ext/hash/tests
parentd17e8ac32fe1f4bbf92c4bac1826d83d8372df95 (diff)
downloadphp-git-1b06e0be96774eeb59a59b80476213a8b98a8fdc.tar.gz
typo fixes
Diffstat (limited to 'ext/hash/tests')
-rw-r--r--ext/hash/tests/hash_file_error.phpt6
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 e1380301c2..96c41e6432 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)