aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-22 20:57:10 +0800
committerGitHub <noreply@github.com>2023-08-22 20:57:10 +0800
commite34eb4ccf9c3a9c04127cb8e00742ed2e3316484 (patch)
tree2e5425274e8c4ecedcf38a55c318456f39db95a0
parent63094e00139acdec08b43fb4e659a1db170ba963 (diff)
downloadrneovim-e34eb4ccf9c3a9c04127cb8e00742ed2e3316484.tar.gz
rneovim-e34eb4ccf9c3a9c04127cb8e00742ed2e3316484.tar.bz2
rneovim-e34eb4ccf9c3a9c04127cb8e00742ed2e3316484.zip
test(old): reorder test_edit.vim to match upstream (#24837)
-rw-r--r--test/old/testdir/test_edit.vim40
1 files changed, 20 insertions, 20 deletions
diff --git a/test/old/testdir/test_edit.vim b/test/old/testdir/test_edit.vim
index 24afda67f2..0f3c62a092 100644
--- a/test/old/testdir/test_edit.vim
+++ b/test/old/testdir/test_edit.vim
@@ -1517,26 +1517,6 @@ func Test_edit_rightleft()
bw!
endfunc
-func Test_edit_backtick()
- next a\`b c
- call assert_equal('a`b', expand('%'))
- next
- call assert_equal('c', expand('%'))
- call assert_equal('a\`b c', expand('##'))
-endfunc
-
-func Test_edit_quit()
- edit foo.txt
- split
- new
- call setline(1, 'hello')
- 3wincmd w
- redraw!
- call assert_fails('1q', 'E37:')
- bwipe! foo.txt
- only
-endfunc
-
func Test_edit_complete_very_long_name()
if !has('unix')
" Long directory names only work on Unix.
@@ -1594,6 +1574,26 @@ func Test_edit_complete_very_long_name()
set swapfile&
endfunc
+func Test_edit_backtick()
+ next a\`b c
+ call assert_equal('a`b', expand('%'))
+ next
+ call assert_equal('c', expand('%'))
+ call assert_equal('a\`b c', expand('##'))
+endfunc
+
+func Test_edit_quit()
+ edit foo.txt
+ split
+ new
+ call setline(1, 'hello')
+ 3wincmd w
+ redraw!
+ call assert_fails('1q', 'E37:')
+ bwipe! foo.txt
+ only
+endfunc
+
func Test_edit_alt()
" Keeping the cursor line didn't happen when the first line has indent.
new