comparison src/testdir/test_options.vim @ 18031:8a2fb21c23c0 v8.1.2011

patch 8.1.2011: more functions can be used as methods Commit: https://github.com/vim/vim/commit/ce90e36f5969e733a0a919f1736453332c33aad6 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 8 18:58:44 2019 +0200 patch 8.1.2011: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method. Make the window command test faster.
author Bram Moolenaar <Bram@vim.org>
date Sun, 08 Sep 2019 19:00:04 +0200
parents 0da9bc55c31a
children 212284f893d5
comparison
equal deleted inserted replaced
18030:e7a81e948c12 18031:8a2fb21c23c0
508 call assert_match('file2', execute('bn', '')) 508 call assert_match('file2', execute('bn', ''))
509 set shortmess+=F 509 set shortmess+=F
510 call assert_true(empty(execute('bn', ''))) 510 call assert_true(empty(execute('bn', '')))
511 call assert_false(test_getvalue('need_fileinfo')) 511 call assert_false(test_getvalue('need_fileinfo'))
512 call assert_true(empty(execute('bn', ''))) 512 call assert_true(empty(execute('bn', '')))
513 call assert_false(test_getvalue('need_fileinfo')) 513 call assert_false('need_fileinfo'->test_getvalue())
514 set hidden 514 set hidden
515 call assert_true(empty(execute('bn', ''))) 515 call assert_true(empty(execute('bn', '')))
516 call assert_false(test_getvalue('need_fileinfo')) 516 call assert_false(test_getvalue('need_fileinfo'))
517 call assert_true(empty(execute('bn', ''))) 517 call assert_true(empty(execute('bn', '')))
518 call assert_false(test_getvalue('need_fileinfo')) 518 call assert_false(test_getvalue('need_fileinfo'))