summaryrefslogtreecommitdiff
path: root/tests/unit/aofrw.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/aofrw.tcl')
-rw-r--r--tests/unit/aofrw.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/aofrw.tcl b/tests/unit/aofrw.tcl
index ac861a653..45db1939f 100644
--- a/tests/unit/aofrw.tcl
+++ b/tests/unit/aofrw.tcl
@@ -185,7 +185,7 @@ start_server {tags {"aofrw external:skip"} overrides {aof-use-rdb-preamble no}}
test "AOF rewrite functions" {
r flushall
- r FUNCTION LOAD LUA test DESCRIPTION {desc} {
+ r FUNCTION LOAD {#!lua name=test
redis.register_function('test', function() return 1 end)
}
r bgrewriteaof
@@ -194,7 +194,7 @@ start_server {tags {"aofrw external:skip"} overrides {aof-use-rdb-preamble no}}
r debug loadaof
assert_equal [r fcall test 0] 1
r FUNCTION LIST
- } {{library_name test engine LUA description desc functions {{name test description {} flags {}}}}}
+ } {{library_name test engine LUA functions {{name test description {} flags {}}}}}
test {BGREWRITEAOF is delayed if BGSAVE is in progress} {
r flushall