diff options
author | antirez <antirez@gmail.com> | 2016-05-31 16:43:21 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2016-05-31 16:43:23 +0200 |
commit | 231c9db1b512b491c0082f503df066daac006027 (patch) | |
tree | 554f852a679d7247e7167617f9ff465415ac9db1 /tests | |
parent | 2503acfc83753e78045346c4b4993d5d34cf57d2 (diff) | |
download | redis-231c9db1b512b491c0082f503df066daac006027.tar.gz |
Now that SPOP can be called by scripts use BLPOP on 's' flag test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/scripting.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/scripting.tcl b/tests/unit/scripting.tcl index 825a73ed3..be82e1559 100644 --- a/tests/unit/scripting.tcl +++ b/tests/unit/scripting.tcl @@ -142,7 +142,7 @@ start_server {tags {"scripting"}} { test {EVAL - Scripts can't run certain commands} { set e {} - catch {r eval {return redis.pcall('spop','x')} 0} e + catch {r eval {return redis.pcall('blpop','x',0)} 0} e set e } {*not allowed*} |