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'. --- test/old/testdir/test_ex_undo.vim | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/old/testdir/test_ex_undo.vim (limited to 'test/old/testdir/test_ex_undo.vim') diff --git a/test/old/testdir/test_ex_undo.vim b/test/old/testdir/test_ex_undo.vim new file mode 100644 index 0000000000..44feb3680a --- /dev/null +++ b/test/old/testdir/test_ex_undo.vim @@ -0,0 +1,19 @@ +" Tests for :undo + +func Test_ex_undo() + new ex-undo + setlocal ul=10 + exe "normal ione\n\" + setlocal ul=10 + exe "normal itwo\n\" + setlocal ul=10 + exe "normal ithree\n\" + call assert_equal(4, line('$')) + undo + call assert_equal(3, line('$')) + undo 1 + call assert_equal(2, line('$')) + undo 0 + call assert_equal(1, line('$')) + quit! +endfunc -- cgit