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_version.vim | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/nvim/testdir/test_version.vim (limited to 'src/nvim/testdir/test_version.vim') diff --git a/src/nvim/testdir/test_version.vim b/src/nvim/testdir/test_version.vim deleted file mode 100644 index 5fd38f7cdc..0000000000 --- a/src/nvim/testdir/test_version.vim +++ /dev/null @@ -1,26 +0,0 @@ -" Test :version Ex command - -so check.vim -so shared.vim - -func Test_version() - " version should always return the same string. - let v1 = execute('version') - let v2 = execute('version') - call assert_equal(v1, v2) - - call assert_match("^\n\nNVIM v[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+.*", v1) -endfunc - -func Test_version_redirect() - CheckNotGui - CheckCanRunGui - CheckUnix - - call RunVim([], [], '--clean -g --version >Xversion 2>&1') - call assert_match('Features included', readfile('Xversion')->join()) - - call delete('Xversion') -endfunc - -" vim: shiftwidth=2 sts=2 expandtab -- cgit