aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/eval_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/eval_spec.lua')
-rw-r--r--test/functional/legacy/eval_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/legacy/eval_spec.lua b/test/functional/legacy/eval_spec.lua
index 1b6f834019..c5d38d6d05 100644
--- a/test/functional/legacy/eval_spec.lua
+++ b/test/functional/legacy/eval_spec.lua
@@ -517,11 +517,11 @@ describe('eval', function()
end)
it('sets the unnamed register when the "u" option is passed to setreg', function()
- execute("call setreg('a','a reg', 'cu')")
+ command("call setreg('a','a reg', 'cu')")
eq("a reg", eval('@"'))
- execute("call setreg('b','b reg', 'cu')")
+ command("call setreg('b','b reg', 'cu')")
eq("b reg", eval('@"'))
- execute("call setreg('c','c reg', 'c')")
+ command("call setreg('c','c reg', 'c')")
eq("b reg", eval('@"'))
end)