From 6deddb26def6aaf4b18d1c31c319fe9db6dfb399 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 2 Sep 2018 23:34:07 -0400 Subject: vim-patch:8.1.0336: mkview test still fails on CI Problem: mkview test still fails on CI. Solution: Ignore curswant, don't see another solution. https://github.com/vim/vim/commit/dd5d18eadffadc723ff7d3e208a2973d267a6dde --- src/nvim/testdir/test_mksession.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/nvim/testdir/test_mksession.vim b/src/nvim/testdir/test_mksession.vim index 8332f6bb41..e30d5f7a40 100644 --- a/src/nvim/testdir/test_mksession.vim +++ b/src/nvim/testdir/test_mksession.vim @@ -161,7 +161,7 @@ func Test_mkview_file() help :mkview set number norm! V}zf0 - let pos = getcurpos() + let pos = getpos('.') let linefoldclosed1 = foldclosed('.') mkview! Xview set nonumber @@ -173,7 +173,7 @@ func Test_mkview_file() source Xview call assert_equal(1, &number) call assert_match('\*:mkview\*$', getline('.')) - call assert_equal(pos, getcurpos()) + call assert_equal(pos, getpos('.')) call assert_equal(linefoldclosed1, foldclosed('.')) " Creating a view again with the same file name should fail (file @@ -196,7 +196,7 @@ func Test_mkview_loadview_with_viewdir() help :mkview set number norm! V}zf - let pos = getcurpos() + let pos = getpos('.') let linefoldclosed1 = foldclosed('.') mkview 1 set nonumber @@ -213,7 +213,7 @@ func Test_mkview_loadview_with_viewdir() \ glob('Xviewdir/*')) call assert_equal(1, &number) call assert_match('\*:mkview\*$', getline('.')) - call assert_equal(pos, getcurpos()) + call assert_equal(pos, getpos('.')) call assert_equal(linefoldclosed1, foldclosed('.')) call delete('Xviewdir', 'rf') -- cgit