Files
neovim/test/functional
Jonathan de Boyne Pollard 18e7cd9e97 test: Prevent waiting for already current state.
Some of the UI tests screen:expect() the same screen state twice in a
row.  This ends up waiting the entire timeout period for a screen redraw
event that never happens.  So check at the start of screen:wait() that
the screen is not already in the desired end state.

This shaves a third off the total run-time of the functional tests on
FreeBSD.  Some of the tests that look for the same state twice are
mouse_spec tests, which have their timeouts raised to a quarter of a
minute for each screen:expect() in the test.
2017-06-11 11:36:44 +01:00
..
2017-04-09 03:31:13 +03:00
2017-05-20 03:25:22 +03:00
2017-05-08 21:21:03 +03:00
2016-06-10 21:50:49 +03:00