diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-21 22:50:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-21 22:50:07 +0200 |
commit | e49fbff384e45dd17fed72321c26937edf6de16b (patch) | |
tree | 07f2db66848b5d23b6311be43f6dc50995096d1f /src/testdir/test_bufwintabinfo.vim | |
parent | 00b0d6d8dc2c04b3cb26ea3c3d58527939f01af6 (diff) | |
download | vim-git-e49fbff384e45dd17fed72321c26937edf6de16b.tar.gz |
patch 8.1.1909: more functions can be used as methodsv8.1.1909
Problem: More functions can be used as methods.
Solution: Make a few more functions usable as a method.
Diffstat (limited to 'src/testdir/test_bufwintabinfo.vim')
-rw-r--r-- | src/testdir/test_bufwintabinfo.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_bufwintabinfo.vim b/src/testdir/test_bufwintabinfo.vim index 0e8c7d1dc..7f0a6ceb4 100644 --- a/src/testdir/test_bufwintabinfo.vim +++ b/src/testdir/test_bufwintabinfo.vim @@ -18,7 +18,7 @@ function Test_getbufwintabinfo() let l = getbufinfo('%') call assert_equal(bufnr('%'), l[0].bufnr) call assert_equal('vim', l[0].variables.editor) - call assert_notequal(-1, index(l[0].windows, bufwinid('%'))) + call assert_notequal(-1, index(l[0].windows, '%'->bufwinid())) " Test for getbufinfo() with 'bufmodified' call assert_equal(0, len(getbufinfo({'bufmodified' : 1}))) |