summaryrefslogtreecommitdiff
path: root/ext/sodium/tests/sodium_error_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sodium/tests/sodium_error_001.phpt')
-rw-r--r--ext/sodium/tests/sodium_error_001.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sodium/tests/sodium_error_001.phpt b/ext/sodium/tests/sodium_error_001.phpt
index b5b19b1d12..5ebcb8e80e 100644
--- a/ext/sodium/tests/sodium_error_001.phpt
+++ b/ext/sodium/tests/sodium_error_001.phpt
@@ -15,7 +15,7 @@ $key = random_bytes(SODIUM_CRYPTO_SHORTHASH_KEYBYTES);
$hash = do_crypto_shorthash($m, $key);
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: sodium_crypto_shorthash() expects argument #1 ($string) to be of type string, int given in %s:%d
+Fatal error: Uncaught TypeError: sodium_crypto_shorthash(): Argument #1 ($string) must be of type string, int given in %s:%d
Stack trace:
#0 %s(%d): sodium_crypto_shorthash()
#1 %s(%d): do_crypto_shorthash()