diff options
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_gn.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/testdir/test_gn.vim b/src/testdir/test_gn.vim index a2a7ac3f0f..eb237a25c5 100644 --- a/src/testdir/test_gn.vim +++ b/src/testdir/test_gn.vim @@ -183,6 +183,22 @@ func Test_gN_repeat() bwipe! endfunc +func Test_gN_then_gn() + new + + call setline(1, 'this list is a list with a list of a last.') + /l.st + normal $gNgNgnx + call assert_equal('last', @") + + call setline(1, 'this list is a list with a lust of a last.') + /l.st + normal $gNgNgNgnx + call assert_equal('lust of a last', @") + + bwipe! +endfunc + func Test_gn_multi_line() new call setline(1, [ |