summaryrefslogtreecommitdiff
path: root/src/testdir/test_help.vim
blob: 5a35b691add39c4e139e1e6bf67f8ebc14b6f6a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
" Tests for :help

func Test_help_restore_snapshot()
  help
  set buftype=
  help
  edit x
  help
  helpclose
endfunc

func Test_help_errors()
  call assert_fails('help doesnotexist', 'E149:')
  call assert_fails('help!', 'E478:')
endfunc