comparison src/testdir/test_packadd.vim @ 19231:b8fd7364befd v8.2.0174

patch 8.2.0174: various commands not completely tested Commit: https://github.com/vim/vim/commit/5d98dc2a48156d44139b75c689bd3137ff7fe8bf Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 29 21:57:34 2020 +0100 patch 8.2.0174: various commands not completely tested Problem: Various commands not completely tested. Solution: Add more test cases. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5551)
author Bram Moolenaar <Bram@vim.org>
date Wed, 29 Jan 2020 22:00:04 +0100
parents c833cf17a4b1
children 08940efa6b4e
comparison
equal deleted inserted replaced
19230:21e430519a6c 19231:b8fd7364befd
262 262
263 let tags1 = readfile(docdir1 . '/tags') 263 let tags1 = readfile(docdir1 . '/tags')
264 call assert_match('look-here', tags1[0]) 264 call assert_match('look-here', tags1[0])
265 let tags2 = readfile(docdir2 . '/tags') 265 let tags2 = readfile(docdir2 . '/tags')
266 call assert_match('look-away', tags2[0]) 266 call assert_match('look-away', tags2[0])
267
268 call assert_fails('helptags abcxyz', 'E150:')
267 endfunc 269 endfunc
268 270
269 func Test_colorscheme() 271 func Test_colorscheme()
270 let colordirrun = &packpath . '/runtime/colors' 272 let colordirrun = &packpath . '/runtime/colors'
271 let colordirstart = &packpath . '/pack/mine/start/foo/colors' 273 let colordirstart = &packpath . '/pack/mine/start/foo/colors'
353 call assert_equal('xxxopt', g:sequence) 355 call assert_equal('xxxopt', g:sequence)
354 let g:sequence = '' 356 let g:sequence = ''
355 runtime! ALL extra/bar.vim 357 runtime! ALL extra/bar.vim
356 call assert_equal('runstartopt', g:sequence) 358 call assert_equal('runstartopt', g:sequence)
357 endfunc 359 endfunc
360
361 " vim: shiftwidth=2 sts=2 expandtab