view src/testdir/test_help.vim @ 11237:a1e7482ed5cf

Added tag v8.0.0504 for changeset 62c96fee518e715295728c4ced46ab2990a7f740
author Christian Brabandt <cb@256bit.org>
date Sat, 25 Mar 2017 15:00:06 +0100
parents 260100346566
children 55cf556d8ce1
line wrap: on
line source

" 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