Mercurial > vim
comparison src/testdir/test_bufwintabinfo.vim @ 17912:9fac6d0de69a v8.1.1952
patch 8.1.1952: more functions can be used as a method
Commit: https://github.com/vim/vim/commit/5d69fdb7c4b91faf2d92b8d449cc9460f3035fb3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 31 19:13:58 2019 +0200
patch 8.1.1952: more functions can be used as a method
Problem: More functions can be used as a method.
Solution: Allow more functions to be used as a method.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 31 Aug 2019 19:15:03 +0200 |
parents | 4935244c1128 |
children | 7a19c8d6bb9e |
comparison
equal
deleted
inserted
replaced
17911:6ec211f84436 | 17912:9fac6d0de69a |
---|---|
75 call assert_equal(2, winlist[3].tabnr) | 75 call assert_equal(2, winlist[3].tabnr) |
76 call assert_equal(2, winlist[4].tabnr) | 76 call assert_equal(2, winlist[4].tabnr) |
77 | 77 |
78 call assert_equal('green', winlist[2].variables.signal) | 78 call assert_equal('green', winlist[2].variables.signal) |
79 call assert_equal(w4_id, winlist[3].winid) | 79 call assert_equal(w4_id, winlist[3].winid) |
80 let winfo = getwininfo(w5_id)[0] | 80 let winfo = w5_id->getwininfo()[0] |
81 call assert_equal(2, winfo.tabnr) | 81 call assert_equal(2, winfo.tabnr) |
82 call assert_equal([], getwininfo(3)) | 82 call assert_equal([], getwininfo(3)) |
83 | 83 |
84 call settabvar(1, 'space', 'build') | 84 call settabvar(1, 'space', 'build') |
85 let tablist = gettabinfo() | 85 let tablist = gettabinfo() |