aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/eval_spec.lua
diff options
context:
space:
mode:
authorAdnoC <adam.r.cutler@gmail.com>2017-05-29 11:34:08 -0400
committerAdnoC <adam.r.cutler@gmail.com>2017-05-31 13:31:05 -0400
commit5908f562dfe9dfcbf1218b2820addff117ee4847 (patch)
tree6fb03c07e6d033faf853e9a0e6a0c5611bc52e96 /test/functional/legacy/eval_spec.lua
parent0c3dea5c4d86a8ef61363034877bde04a0e99463 (diff)
downloadrneovim-5908f562dfe9dfcbf1218b2820addff117ee4847.tar.gz
rneovim-5908f562dfe9dfcbf1218b2820addff117ee4847.tar.bz2
rneovim-5908f562dfe9dfcbf1218b2820addff117ee4847.zip
test: Fix and add cases for unnamed register
Also: Add ru to shada tests with all keys Add test for unset unnamed and register 0
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)