Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
eda06b51
Commit
eda06b51
authored
Oct 30, 2015
by
antirez
Browse files
Scripting: test Redis provided Lua functions error reporting.
parent
ebaa9226
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/scripting.tcl
View file @
eda06b51
...
@@ -463,6 +463,15 @@ start_server {tags {"scripting"}} {
...
@@ -463,6 +463,15 @@ start_server {tags {"scripting"}} {
end
end
}
0
}
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
# Start a new server since the last test in this stanza will kill the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment