Commit f9ee039a authored by antirez's avatar antirez
Browse files

Scripting test: match new error message.

parent 2205c465
...@@ -330,7 +330,7 @@ start_server {tags {"scripting"}} { ...@@ -330,7 +330,7 @@ start_server {tags {"scripting"}} {
test {Globals protection reading an undeclared global variable} { test {Globals protection reading an undeclared global variable} {
catch {r eval {return a} 0} e catch {r eval {return a} 0} e
set e set e
} {*ERR*attempted to access unexisting global*} } {*ERR*attempted to access * global*}
test {Globals protection setting an undeclared global*} { test {Globals protection setting an undeclared global*} {
catch {r eval {a=10} 0} e catch {r eval {a=10} 0} e
......
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