mirror of
https://github.com/vim/vim.git
synced 2025-10-08 06:04:08 -04:00
17 lines
384 B
VimL
17 lines
384 B
VimL
![]() |
" Test for the new-tutor plugin
|
||
|
|
||
|
func SetUp()
|
||
|
set nocompatible
|
||
|
runtime plugin/tutor.vim
|
||
|
endfunc
|
||
|
|
||
|
func Test_auto_enable_interactive()
|
||
|
Tutor
|
||
|
call assert_equal('nofile', &buftype)
|
||
|
call assert_match('tutor#EnableInteractive', b:undo_ftplugin)
|
||
|
|
||
|
edit Xtutor/Xtest.tutor
|
||
|
call assert_true(empty(&buftype))
|
||
|
call assert_match('tutor#EnableInteractive', b:undo_ftplugin)
|
||
|
endfunc
|