diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-18 20:18:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-18 20:18:45 +0100 |
commit | 37175409d766ce67f2548dffa6d73451379b5737 (patch) | |
tree | 2e8e01db9672be9049ed94a1ed3192356441d628 /src/testdir/test_menu.vim | |
parent | 42205551b140bee8b419b24abe210f56bb80b35e (diff) |
patch 8.0.0478: tests use assert_true(0) and assert_false(1) to report errorsv8.0.0478
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
Diffstat (limited to 'src/testdir/test_menu.vim')
-rw-r--r-- | src/testdir/test_menu.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_menu.vim b/src/testdir/test_menu.vim index 8acc844f0c..055d944b15 100644 --- a/src/testdir/test_menu.vim +++ b/src/testdir/test_menu.vim @@ -8,7 +8,7 @@ func Test_load_menu() try source $VIMRUNTIME/menu.vim catch - call assert_false(1, 'error while loading menus: ' . v:exception) + call assert_report('error while loading menus: ' . v:exception) endtry call assert_match('browse confirm w', execute(':menu File.Save')) source $VIMRUNTIME/delmenu.vim |