Skip to content

Commit 811ba2b

Browse files
committed
Fix neovim test failure
1 parent 5407552 commit 811ba2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/unit_tests.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,8 +1381,9 @@ func Test_gui_base_menu()
13811381

13821382
" popup menu
13831383
let m = menu_info('PopUp')
1384-
call assert_equal({'modes': 'a', 'name': 'PopUp', 'submenus': ['Tags'],
1385-
\ 'shortcut': '', 'priority': 500, 'display': 'PopUp'}, m)
1384+
call assert_equal(['a', 'PopUp', '', 500, 'PopUp'],
1385+
\ [m.modes, m.name, m.shortcut, m.priority, m.display])
1386+
call assert_true(index(m.submenus, 'Tags') != -1)
13861387
let m = menu_info('PopUp.Tags')
13871388
call assert_equal({'modes': 'a', 'name': 'T&ags',
13881389
\ 'submenus': ['Refresh menu', 'Sort menu by', '-SEP1-'],

0 commit comments

Comments
 (0)