diff options
author | Daniel Hahler <git@thequod.de> | 2019-10-18 04:46:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 04:46:30 +0200 |
commit | 4bbad5481773ac2a273a41a9fe8035ca57e03cd8 (patch) | |
tree | bc35ec0b5848236bd8f0fb049c56a73913fec407 /test/functional/api/server_requests_spec.lua | |
parent | 0785f8e8b11b2fa290cfbc0604d570f49b954ba6 (diff) | |
download | rneovim-4bbad5481773ac2a273a41a9fe8035ca57e03cd8.tar.gz rneovim-4bbad5481773ac2a273a41a9fe8035ca57e03cd8.tar.bz2 rneovim-4bbad5481773ac2a273a41a9fe8035ca57e03cd8.zip |
tests: fix non-controversial misuse of `pending` (#11247)
Ref: https://github.com/neovim/neovim/pull/11184
Diffstat (limited to 'test/functional/api/server_requests_spec.lua')
-rw-r--r-- | test/functional/api/server_requests_spec.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/functional/api/server_requests_spec.lua b/test/functional/api/server_requests_spec.lua index 5a9ef7dd40..61184d2c59 100644 --- a/test/functional/api/server_requests_spec.lua +++ b/test/functional/api/server_requests_spec.lua @@ -317,8 +317,7 @@ describe('server -> client', function() set_session(server) local status, address = pcall(funcs.serverstart, "127.0.0.1:") if not status then - pending('no ipv4 stack', function() end) - return + pending('no ipv4 stack') end eq('127.0.0.1:', string.sub(address,1,10)) connect_test(server, 'tcp', address) @@ -329,8 +328,7 @@ describe('server -> client', function() set_session(server) local status, address = pcall(funcs.serverstart, '::1:') if not status then - pending('no ipv6 stack', function() end) - return + pending('no ipv6 stack') end eq('::1:', string.sub(address,1,4)) connect_test(server, 'tcp', address) @@ -349,8 +347,7 @@ describe('server -> client', function() it('does not deadlock', function() if not helpers.isCI('travis') and helpers.is_os('mac') then -- It does, in fact, deadlock on QuickBuild. #6851 - pending("deadlocks on QuickBuild", function() end) - return + pending("deadlocks on QuickBuild") end local address = funcs.serverlist()[1] local first = string.sub(address,1,1) |