Mercurial > vim
annotate src/testdir/test_menu.vim @ 10540:ea7fbae33285 v8.0.0160
patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG()
commit https://github.com/vim/vim/commit/de33011ec623fd562419dede6bf465b5b9881a20
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 8 20:50:52 2017 +0100
patch 8.0.0160: EMSG() is sometimes used where it should be IEMSG()
Problem: EMSG() is sometimes used for internal errors.
Solution: Change them to IEMSG(). (Dominique Pelle) And a few more.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 08 Jan 2017 21:00:05 +0100 |
parents | 6f14d7da2d8a |
children | eb3a2ff3309a |
rev | line source |
---|---|
7488
6f14d7da2d8a
commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Test that the system menu can be loaded. |
6f14d7da2d8a
commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
6f14d7da2d8a
commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 func Test_load_menu() |
6f14d7da2d8a
commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 try |
6f14d7da2d8a
commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 source $VIMRUNTIME/menu.vim |
6f14d7da2d8a
commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 catch |
6f14d7da2d8a
commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 call assert_false(1, 'error while loading menus: ' . v:exception) |
6f14d7da2d8a
commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 endtry |
6f14d7da2d8a
commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 endfunc |