summaryrefslogtreecommitdiff
path: root/src/testdir/test_put.vim
diff options
context:
space:
mode:
authornaohiro ono <obcat@icloud.com>2022-01-01 14:59:44 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 14:59:44 +0000
commit56200eed62e59ad831f6564dcafe346e6f97ac20 (patch)
treebd242d2ea39d37c41f17bfa82acec695dac1d6b4 /src/testdir/test_put.vim
parente70cec976026ce72d09b6589ebba4677581063ac (diff)
downloadvim-git-56200eed62e59ad831f6564dcafe346e6f97ac20.tar.gz
patch 8.2.3969: value of MAXCOL not available in Vim scriptv8.2.3969
Problem: Value of MAXCOL not available in Vim script. Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
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 c390bbb61..0fde02640 100644
--- a/src/testdir/test_put.vim
+++ b/src/testdir/test_put.vim
@@ -205,7 +205,7 @@ func Test_multibyte_op_end_mark()
call assert_equal([0, 1, 7, 0], getpos("']"))
normal Vyp
- call assert_equal([0, 1, 2147483647, 0], getpos("'>"))
+ call assert_equal([0, 1, v:maxcol, 0], getpos("'>"))
call assert_equal([0, 2, 7, 0], getpos("']"))
bwipe!
endfunc