X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/80e808b6d6ca40580899bda0397d7c0d9b19b1a8..46c31a150a0e6a67eaaf4b1e1146ec815cc1355e:/tests/unit/scripting.tcl diff --git a/tests/unit/scripting.tcl b/tests/unit/scripting.tcl index ec6e5c2a..6d60e419 100644 --- a/tests/unit/scripting.tcl +++ b/tests/unit/scripting.tcl @@ -145,6 +145,12 @@ start_server {tags {"scripting"}} { set e } {*not allowed after*} + test {EVAL - No arguments to redis.call/pcall is considered an error} { + set e {} + catch {r eval {return redis.call()} 0} e + set e + } {*one argument*} + test {EVAL - redis.call variant raises a Lua error on Redis cmd error (1)} { set e {} catch {