aboutsummaryrefslogtreecommitdiff
path: root/test/functional/shell/viml_system_spec.lua
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-07 11:01:59 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-10 18:46:09 -0300
commit63a98fca552b1f7197dd2a37764a57604e3746e8 (patch)
treeccb87b68ae25498f29f7e2e3cba85337e14f04e6 /test/functional/shell/viml_system_spec.lua
parentb0cd397a43ae18942e12b1c76f838aac135b18cf (diff)
downloadrneovim-63a98fca552b1f7197dd2a37764a57604e3746e8.tar.gz
rneovim-63a98fca552b1f7197dd2a37764a57604e3746e8.tar.bz2
rneovim-63a98fca552b1f7197dd2a37764a57604e3746e8.zip
test: Fix nondeterminism in tests with notifications
Tests which spin the event loop and stop it in a notification handler have a chance of re-entering the event loop due to the `vim_eval` call in the `request()` helper(assuming the request call is what triggered the notification). Since this will cause an error to be thrown by the lua client, don't send the extra `vim_eval` request when the loop has been stopped.
Diffstat (limited to 'test/functional/shell/viml_system_spec.lua')
0 files changed, 0 insertions, 0 deletions