view src/testdir/test_menu.vim @ 7643:2b2e90fcd72b v7.4.1121

commit https://github.com/vim/vim/commit/08b270a8a4544be9a7fecce311834fde2b457634 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 17 18:34:19 2016 +0100 patch 7.4.1121 Problem: test_expand leaves files behind. Solution: Edit another file before deleting, otherwise the swap file remains.
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Jan 2016 18:45:04 +0100
parents 6f14d7da2d8a
children eb3a2ff3309a
line wrap: on
line source

" Test that the system menu can be loaded.

func Test_load_menu()
  try
    source $VIMRUNTIME/menu.vim
  catch
    call assert_false(1, 'error while loading menus: ' . v:exception)
  endtry
endfunc