From ea2fe5255202b7fe169c5196a3a47138eaf947ba Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 23 Oct 2015 13:35:19 +0300 Subject: functests: Add test to check expected behaviour (failing) --- test/functional/shada/marks_spec.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) 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() -- cgit