aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-10-23 10:11:59 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-10-23 10:11:59 -0400
commitde4cb766ca381c09fd3f938136c1932ebf008f63 (patch)
tree70aac7d6e7abc1d0cfc0e7635c6a95dbfbe48237 /test
parente38cbb93670272d0da15c60222a123b88ec55002 (diff)
parentfc2bb200f75ab9650c1c35463bcc2be9008632c9 (diff)
downloadrneovim-de4cb766ca381c09fd3f938136c1932ebf008f63.tar.gz
rneovim-de4cb766ca381c09fd3f938136c1932ebf008f63.tar.bz2
rneovim-de4cb766ca381c09fd3f938136c1932ebf008f63.zip
Merge pull request #3490 from ZyX-I/fix-3472
Fix local marks saving/restoring with ShaDa
Diffstat (limited to 'test')
-rw-r--r--test/functional/shada/marks_spec.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/functional/shada/marks_spec.lua b/test/functional/shada/marks_spec.lua
index b03af39662..f03b330fb5 100644
--- a/test/functional/shada/marks_spec.lua
+++ b/test/functional/shada/marks_spec.lua
@@ -90,6 +90,16 @@ describe('ShaDa support code', function()
eq(2, nvim_current_line())
end)
+ it('is able to dump and read back mark "', function()
+ nvim_command('edit ' .. testfilename)
+ nvim_command('2')
+ nvim_command('qall')
+ reset()
+ nvim_command('edit ' .. testfilename)
+ nvim_command('normal! `"')
+ eq(2, nvim_current_line())
+ end)
+
it('is able to populate v:oldfiles', function()
nvim_command('edit ' .. testfilename)
local tf_full = curbufmeths.get_name()