2017-02-17 12:04:56 +01:00
|
|
|
" Tests for :help
|
|
|
|
|
|
|
|
func Test_help_restore_snapshot()
|
|
|
|
help
|
|
|
|
set buftype=
|
|
|
|
help
|
|
|
|
edit x
|
|
|
|
help
|
|
|
|
helpclose
|
|
|
|
endfunc
|
2017-03-16 22:26:44 +01:00
|
|
|
|
|
|
|
func Test_help_errors()
|
|
|
|
call assert_fails('help doesnotexist', 'E149:')
|
|
|
|
call assert_fails('help!', 'E478:')
|
|
|
|
endfunc
|