Skip to content

Commit c121499

Browse files
committed
test: change error messages
1 parent bbc3adc commit c121499

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ Warning: zstd_compress() expects at least 1 parameter, 0 given in %s on line %d
2626
bool(false)
2727
*** Testing with incorrect parameters ***
2828

29-
Warning: zstd_compress(): expects parameter to be string. in %s on line %d
29+
Warning: zstd_compress() expects parameter 1 to be string, object given in %s on line %d
3030
bool(false)
3131
===Done===

tests/005.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ Warning: zstd_uncompress() expects exactly 1 parameter, 0 given in %s on line %d
2626
bool(false)
2727
*** Testing with incorrect arguments ***
2828

29-
Warning: zstd_uncompress(): expects parameter to be string. in %s on line %d
29+
Warning: zstd_uncompress(): it was not compressed by zstd in %s on line %d
3030
bool(false)
3131

32-
Warning: zstd_uncompress(): expects parameter to be string. in %s on line %d
32+
Warning: zstd_uncompress() expects parameter 1 to be string, object given in %s on line %d
3333
bool(false)
3434
===DONE===

0 commit comments

Comments
 (0)