aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2015-10-23 13:35:19 +0300
committerZyX <kp-pav@yandex.ru>2015-10-23 14:47:59 +0300
commitea2fe5255202b7fe169c5196a3a47138eaf947ba (patch)
treeffb1d553e4e578e254aa40c84fc39435045836de
parenta85163a5d2af9d147e74ef2e52b7b4ac95611ab3 (diff)
downloadrneovim-ea2fe5255202b7fe169c5196a3a47138eaf947ba.tar.gz
rneovim-ea2fe5255202b7fe169c5196a3a47138eaf947ba.tar.bz2
rneovim-ea2fe5255202b7fe169c5196a3a47138eaf947ba.zip
functests: Add test to check expected behaviour (failing)
-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()