diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-07 01:03:25 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-11-07 01:03:25 -0300 |
commit | 7ded32ad3b869b429a617367ea9af4c66a50df1e (patch) | |
tree | 28162846bb315097b163127448ec87a33ebaef59 /test/functional/api/server_requests_spec.lua | |
parent | 8455fd5e338624a76bd2e4b3176f51eeac76ff7b (diff) | |
parent | 168a46fd316812ad0393101cf65eef1442d2605a (diff) | |
download | rneovim-7ded32ad3b869b429a617367ea9af4c66a50df1e.tar.gz rneovim-7ded32ad3b869b429a617367ea9af4c66a50df1e.tar.bz2 rneovim-7ded32ad3b869b429a617367ea9af4c66a50df1e.zip |
Merge PR #1421 'Improve test error handling and reporting'
Diffstat (limited to 'test/functional/api/server_requests_spec.lua')
-rw-r--r-- | test/functional/api/server_requests_spec.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/api/server_requests_spec.lua b/test/functional/api/server_requests_spec.lua index 916bdfd9f0..a37c41294b 100644 --- a/test/functional/api/server_requests_spec.lua +++ b/test/functional/api/server_requests_spec.lua @@ -4,7 +4,6 @@ local helpers = require('test.functional.helpers') local clear, nvim, eval = helpers.clear, helpers.nvim, helpers.eval local eq, run, stop = helpers.eq, helpers.run, helpers.stop -local restart = helpers.restart @@ -15,7 +14,6 @@ describe('server -> client', function() clear() cid = nvim('get_api_info')[1] end) - teardown(restart) describe('simple call', function() it('works', function() @@ -110,7 +108,7 @@ describe('server -> client', function() return end notified = notified + 1 - eq('notified', eval('rpcrequest('..cid..', "notify")')) + eq('notified!', eval('rpcrequest('..cid..', "notify")')) end run(on_request, on_notification, on_setup) |