diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-04 15:10:11 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-04 15:10:11 +0000 |
commit | 0b5b06cb4777d1401fdf83e7d48d287662236e7e (patch) | |
tree | 43cef2f76a19e461dfa823dc6b84f47ff4fb220b /src/testdir/test_put.vim | |
parent | aaec1d4fb12efb82b87ad322e95994de77b1a833 (diff) | |
download | vim-git-0b5b06cb4777d1401fdf83e7d48d287662236e7e.tar.gz |
patch 8.2.3581: reading character past end of linev8.2.3581
Problem: Reading character past end of line.
Solution: Correct the cursor column.
Diffstat (limited to 'src/testdir/test_put.vim')
-rw-r--r-- | src/testdir/test_put.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim index 1b67c85a1..b2f212054 100644 --- a/src/testdir/test_put.vim +++ b/src/testdir/test_put.vim @@ -159,5 +159,14 @@ func Test_very_large_count() bwipe! endfunc +func Test_put_above_first_line() + new + let @" = 'text' + silent! normal 0o00 + 0put + call assert_equal('text', getline(1)) + bwipe! +endfunc + " vim: shiftwidth=2 sts=2 expandtab |