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_ex_equal.vim | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/nvim/testdir/test_ex_equal.vim (limited to 'src/nvim/testdir/test_ex_equal.vim') diff --git a/src/nvim/testdir/test_ex_equal.vim b/src/nvim/testdir/test_ex_equal.vim deleted file mode 100644 index 05ad276836..0000000000 --- a/src/nvim/testdir/test_ex_equal.vim +++ /dev/null @@ -1,32 +0,0 @@ -" Test Ex := command. - -func Test_ex_equal() - new - call setline(1, ["foo\tbar", "bar\tfoo"]) - - let a = execute('=') - call assert_equal("\n2", a) - - let a = execute('=#') - call assert_equal("\n2\n 1 foo bar", a) - - let a = execute('=l') - call assert_equal("\n2\nfoo^Ibar$", a) - - let a = execute('=p') - call assert_equal("\n2\nfoo bar", a) - - let a = execute('=l#') - call assert_equal("\n2\n 1 foo^Ibar$", a) - - let a = execute('=p#') - call assert_equal("\n2\n 1 foo bar", a) - - let a = execute('.=') - call assert_equal("\n1", a) - - call assert_fails('3=', 'E16:') - call assert_fails('=x', 'E488:') - - bwipe! -endfunc -- cgit