From 5fa082fa85cc96c1389a786570dff2e5da09e221 Mon Sep 17 00:00:00 2001 From: watiko Date: Tue, 19 Jan 2016 22:06:15 +0900 Subject: tests: Migrate legacy test 39. --- src/nvim/testdir/Makefile | 2 +- src/nvim/testdir/test39.in | 116 --------------------------------------------- src/nvim/testdir/test39.ok | Bin 663 -> 0 bytes 3 files changed, 1 insertion(+), 117 deletions(-) delete mode 100644 src/nvim/testdir/test39.in delete mode 100644 src/nvim/testdir/test39.ok (limited to 'src') diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile index bc245b21f4..aaa6f4b97e 100644 --- a/src/nvim/testdir/Makefile +++ b/src/nvim/testdir/Makefile @@ -14,7 +14,7 @@ SCRIPTS := test_eval.out \ test24.out \ test30.out \ test32.out test34.out \ - test36.out test37.out test39.out test40.out \ + test36.out test37.out test40.out \ test42.out test45.out \ test47.out test48.out test49.out \ test52.out test53.out test55.out \ diff --git a/src/nvim/testdir/test39.in b/src/nvim/testdir/test39.in deleted file mode 100644 index 71aeee9b95..0000000000 --- a/src/nvim/testdir/test39.in +++ /dev/null @@ -1,116 +0,0 @@ - -Test Visual block mode commands -And test "U" in Visual mode, also on German sharp S. - -#define BO_ALL 0x0001 -#define BO_BS 0x0002 -#define BO_CRSR 0x0004 - -STARTTEST -:so small.vim -:so mbyte.vim -/^abcde -:" Test shift-right of a block -jlllljj>wlljlll> -:" Test shift-left of a block -G$hhhhkk< -:" Test block-insert -GklkkkIxyz -:" Test block-replace -Gllllkkklllrq -:" Test block-change -G$khhhhhkkcmno -:$-4,$w! test.out -:" Test block-insert using cursor keys for movement -/^aaaa/ -:exe ":norm! l\jjjlllI\\ \" -:/^aa/,/^$/w >> test.out -/xaaa$/ -:exe ":norm! \jjjI<>\p\" -:/xaaa$/,/^$/w >> test.out -:" Test for Visual block was created with the last $ -/^A23$/ -:exe ":norm! l\j$Aab\" -:.,/^$/w >> test.out -:" Test for Visual block was created with the middle $ (1) -/^B23$/ -:exe ":norm! l\j$hAab\" -:.,/^$/w >> test.out -:" Test for Visual block was created with the middle $ (2) -/^C23$/ -:exe ":norm! l\j$hhAab\" -:.,/^$/w >> test.out -:" Test for Visual block insert when virtualedit=all and utf-8 encoding -:set ve=all -:/\t\tline -:exe ":norm! 07l\jjIx\" -:.,/^$/w >> test.out -:" Test for Visual block append when virtualedit=all -:exe ":norm! 012l\jjAx\" -:set ve= -:.,/^$/w >> test.out -:" gUe must uppercase a whole word, also when ß changes to SS -Gothe youtußeuu endYpk0wgUe -:" gUfx must uppercase until x, inclusive. -O- youßtußexu -0fogUfx -:" VU must uppercase a whole line -YpkVU -:" same, when it's the last line in the buffer -YPGi111VUddP -:" Uppercase two lines -Oblah di -doh dutVkUj -:" Uppercase part of two lines -ddppi333k0i222fyllvjfuUk -:" visual replace using Enter or NL -G3o1234567892k05l2jr G3o987652k02l2jr -G3o1234567892k05l2jr -G3o987652k02l2jr -:" -:" Test cursor position. When ve=block and Visual block mode and $gj -:set ve=block -:exe ":norm! 2k\$gj\" -:let cpos=getpos("'>") -:$put ='col:'.cpos[2].' off:'.cpos[3] -:" -:" block_insert when replacing spaces in front of the block with tabs -:set ts=8 sts=4 sw=4 -:4,7y -Gp -:exe ":norm! f0\2jI\\" -:/^the/,$w >> test.out -:qa! -ENDTEST - - line1 - line2 - line3 - -aaaaaa -bbbbbb -cccccc -dddddd - -xaaa -bbbb -cccc -dddd - -yaaa -¿¿¿ -bbb - -A23 -4567 - -B23 -4567 - -C23 -4567 - -abcdefghijklm -abcdefghijklm -abcdefghijklm -abcdefghijklm -abcdefghijklm diff --git a/src/nvim/testdir/test39.ok b/src/nvim/testdir/test39.ok deleted file mode 100644 index 497e2854ca..0000000000 Binary files a/src/nvim/testdir/test39.ok and /dev/null differ -- cgit