X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/6276434ad22ded9f5bf9997137c311e447154908..46c31a150a0e6a67eaaf4b1e1146ec815cc1355e:/tests/unit/scripting.tcl?ds=sidebyside 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 {