diff options
Diffstat (limited to 'src/testdir/test82.in')
-rw-r--r-- | src/testdir/test82.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test82.in b/src/testdir/test82.in index 63a81e7898..8503f5488f 100644 --- a/src/testdir/test82.in +++ b/src/testdir/test82.in @@ -1,4 +1,5 @@ Tests for case-insensitive UTF-8 comparisons (utf_strnicmp() in mbyte.c) +Also test "g~ap". STARTTEST :so small.vim @@ -88,6 +89,15 @@ ggdG :for n in range(0x80, 0xBF) | call EQ(printf('xYz\xc2\x%.2XUvW', n), printf('XyZ\xc2\x%.2XuVw', n)) | endfor :for n in range(0xC0, 0xFF) | call LT(printf('xYz\xc2\x%.2XUvW', n), printf('XyZ\xc2\x%.2XuVw', n)) | endfor :call append(0, printf('%d checks passed', b:passed)) +:" +:" test that g~ap changes one paragraph only. +:new +iabcd + +defggg0g~ap:let lns = getline(1,3) +:q! +:call append(line('$'), lns) +:" :wq! test.out ENDTEST |