view src/testdir/test_menu.vim @ 8487:ce789e3dc84d v7.4.1534

commit https://github.com/vim/vim/commit/846cdb227526272e2cd8ecba4f7168e2226cd633 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 11 18:52:22 2016 +0100 patch 7.4.1534 Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama) Solution: Rename it.
author Christian Brabandt <cb@256bit.org>
date Fri, 11 Mar 2016 19:00:06 +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