Mercurial > vim
view src/testdir/test_menu.vim @ 8374:5d834058bf44 v7.4.1479
commit https://github.com/vim/vim/commit/863c1a9079fa340d663ccafb011729a29186d73e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 3 15:47:06 2016 +0100
patch 7.4.1479
Problem: No testfor ":loadplugin".
Solution: Add a test. Fix how option is being set.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 03 Mar 2016 16:00:05 +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