diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-31 21:17:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-31 21:17:39 +0200 |
commit | f9f24ce7a0e5988fedf2e2ff751818f9b07510a6 (patch) | |
tree | af3ede78a2dedfa82536fb134d22dbe6c9a5033c /src/testdir/test_breakindent.vim | |
parent | 5d69fdb7c4b91faf2d92b8d449cc9460f3035fb3 (diff) |
patch 8.1.1953: more functions can be used as a methodv8.1.1953
Problem: More functions can be used as a method.
Solution: Allow more functions to be used as a method.
Diffstat (limited to 'src/testdir/test_breakindent.vim')
-rw-r--r-- | src/testdir/test_breakindent.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_breakindent.vim b/src/testdir/test_breakindent.vim index 5b8971e7ec..65e258af54 100644 --- a/src/testdir/test_breakindent.vim +++ b/src/testdir/test_breakindent.vim @@ -411,7 +411,7 @@ func Test_breakindent11() " test strdisplaywidth() call s:test_windows('setl cpo-=n sbr=>> nu nuw=4 nolist briopt= ts=4') let text = getline(2) - let width = strlen(text[1:])+indent(2)+strlen(&sbr)*3 " text wraps 3 times + let width = strlen(text[1:]) + indent(2) + strlen(&sbr) * 3 " text wraps 3 times call assert_equal(width, strdisplaywidth(text)) call s:close_windows('set sbr=') endfunc @@ -423,7 +423,7 @@ func Test_breakindent11_vartabs() " test strdisplaywidth() 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:])+indent(2)+strlen(&sbr)*3 " text wraps 3 times + let width = strlen(text[1:]) + 2->indent() + strlen(&sbr) * 3 " text wraps 3 times call assert_equal(width, strdisplaywidth(text)) call s:close_windows('set sbr= vts&') endfunc |