Commit f0434cae authored by antirez's avatar antirez
Browse files

Scripting: test Redis provided Lua functions error reporting.

parent 61fb0545
......@@ -463,6 +463,15 @@ start_server {tags {"scripting"}} {
end
} 0
}
test {Functions in the Redis namespace are able to report errors} {
catch {
r eval {
redis.sha1hex()
} 0
} e
set e
} {*wrong number*}
}
# Start a new server since the last test in this stanza will kill the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment