comparison src/testdir/test_listdict.vim @ 17914:af3d441845cd v8.1.1953

patch 8.1.1953: more functions can be used as a method Commit: https://github.com/vim/vim/commit/f9f24ce7a0e5988fedf2e2ff751818f9b07510a6 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 31 21:17:39 2019 +0200 patch 8.1.1953: 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 21:30:04 +0200
parents 40417757dffd
children 2a017e9dc6da
comparison
equal deleted inserted replaced
17913:be8ab5bb74ce 17914:af3d441845cd
563 func Test_lockvar_script_autoload() 563 func Test_lockvar_script_autoload()
564 let old_rtp = &rtp 564 let old_rtp = &rtp
565 set rtp+=./sautest 565 set rtp+=./sautest
566 lockvar g:footest#x 566 lockvar g:footest#x
567 unlockvar g:footest#x 567 unlockvar g:footest#x
568 call assert_equal(-1, islocked('g:footest#x')) 568 call assert_equal(-1, 'g:footest#x'->islocked())
569 call assert_equal(0, exists('g:footest#x')) 569 call assert_equal(0, exists('g:footest#x'))
570 call assert_equal(1, g:footest#x) 570 call assert_equal(1, g:footest#x)
571 let &rtp = old_rtp 571 let &rtp = old_rtp
572 endfunc 572 endfunc
573 573