aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/menu_spec.lua
Commit message (Collapse)AuthorAge
* tests/ui: remove unnecessary screen:detach()Björn Linse2019-10-13
| | | | | | | | | | | | | It is perfectly fine and expected to detach from the screen just by the UI disconnecting from nvim or exiting nvim. Just keep detach() in screen_basic_spec, to get some coverage of the detach method itself. This avoids hang on failure in many situations (though one could argue that detach() should be "fast", or at least "as fast as resize", which works in press-return already). Never use detach() just to change the size of the screen, try_resize() method exists for that specifically.
* tests: improve robustness of immediate successes in screen testsBjörn Linse2018-10-15
|
* functests: Check logs in lua codeZyX2016-06-10
| | | | | | It is otherwise impossible to determine which test failed sanitizer/valgrind check. test/functional/helpers.lua module return was changed so that tests which do not provide after_each function to get new check will automatically fail.
* test/functional: clean up according to luacheck (part 2)Marco Hinz2015-11-23
|
* Notify attached UIs whenever menus changeRobin Allen2015-08-21
This adds a redraw notification "update_menu" which is sent whenever Vim's menus are changed by the :menu command and friends.