summaryrefslogtreecommitdiff
path: root/src/testdir/test_put.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-24 22:58:31 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-24 22:58:31 +0200
commit4c313b13fb7bfa694ec6d2a13175e8650c007b2a (patch)
tree36db216d522e889c7d86027dfa69f8d5a686c2ed /src/testdir/test_put.vim
parenta8eee21e75324d199acb1663cb5009e03014a13a (diff)
downloadvim-git-4c313b13fb7bfa694ec6d2a13175e8650c007b2a.tar.gz
patch 8.1.1925: more functions can be used as methodsv8.1.1925
Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_put.vim')
-rw-r--r--src/testdir/test_put.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim
index 80d2a2686..afe82f9a6 100644
--- a/src/testdir/test_put.vim
+++ b/src/testdir/test_put.vim
@@ -22,7 +22,7 @@ endfunc
func Test_put_char_block2()
new
- let a = [ getreg('a'), getregtype('a') ]
+ let a = [ 'a'->getreg(), 'a'->getregtype() ]
call setreg('a', ' one ', 'v')
call setline(1, ['Line 1', '', 'Line 3', ''])
" visually select the first 3 lines and put register a over it