diff options
Diffstat (limited to 'src/testdir/test_global.vim')
-rw-r--r-- | src/testdir/test_global.vim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test_global.vim b/src/testdir/test_global.vim index 7804ca470e..d3bfaa90df 100644 --- a/src/testdir/test_global.vim +++ b/src/testdir/test_global.vim @@ -5,7 +5,10 @@ func Test_yank_put_clipboard() set clipboard=unnamed g/^/normal yyp call assert_equal(['a', 'a', 'b', 'b', 'c', 'c'], getline(1, 6)) - + set clipboard=unnamed,unnamedplus + call setline(1, ['a', 'b', 'c']) + g/^/normal yyp + call assert_equal(['a', 'a', 'b', 'b', 'c', 'c'], getline(1, 6)) set clipboard& bwipe! endfunc |