diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-07 19:05:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-07 19:05:09 +0200 |
commit | f6ed61e1489e40eada55a4f1782e1ed82bcad7d9 (patch) | |
tree | 59c67f3a73489d4536e741b883a9ad5f45c3cc2f /src/testdir/test_breakindent.vim | |
parent | 30e9b3c4256710781c3bd64efb33f138e4e074b3 (diff) |
patch 8.1.2004: more functions can be used as methodsv8.1.2004
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_breakindent.vim')
-rw-r--r-- | src/testdir/test_breakindent.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_breakindent.vim b/src/testdir/test_breakindent.vim index 65e258af54..785709fc0f 100644 --- a/src/testdir/test_breakindent.vim +++ b/src/testdir/test_breakindent.vim @@ -424,7 +424,7 @@ func Test_breakindent11_vartabs() call s:test_windows('setl cpo-=n sbr=>> nu nuw=4 nolist briopt= ts=4 vts=4') let text = getline(2) let width = strlen(text[1:]) + 2->indent() + strlen(&sbr) * 3 " text wraps 3 times - call assert_equal(width, strdisplaywidth(text)) + call assert_equal(width, text->strdisplaywidth()) call s:close_windows('set sbr= vts&') endfunc |