From af23d173883f47fd02a9a380c719e4428370b484 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Tue, 7 Mar 2023 04:13:04 +0100 Subject: test: move oldtests to test directory (#22536) The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'. --- src/nvim/testdir/test_viminfo.vim | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/nvim/testdir/test_viminfo.vim (limited to 'src/nvim/testdir/test_viminfo.vim') diff --git a/src/nvim/testdir/test_viminfo.vim b/src/nvim/testdir/test_viminfo.vim deleted file mode 100644 index e792db90ab..0000000000 --- a/src/nvim/testdir/test_viminfo.vim +++ /dev/null @@ -1,26 +0,0 @@ - -" Test for errors in setting 'viminfo' -func Test_viminfo_option_error() - " Missing number - call assert_fails('set viminfo=\"', 'E526:') - for c in split("'/:<@s", '\zs') - call assert_fails('set viminfo=' .. c, 'E526:') - endfor - - " Missing comma - call assert_fails('set viminfo=%10!', 'E527:') - call assert_fails('set viminfo=!%10', 'E527:') - call assert_fails('set viminfo=h%10', 'E527:') - call assert_fails('set viminfo=c%10', 'E527:') - call assert_fails('set viminfo=:10%10', 'E527:') - - " Missing ' setting - call assert_fails('set viminfo=%10', 'E528:') -endfunc - -func Test_viminfo_oldfiles_newfile() - let v:oldfiles = v:_null_list - call assert_equal("\nNo old files", execute('oldfiles')) -endfunc - -" vim: shiftwidth=2 sts=2 expandtab -- cgit