aboutsummaryrefslogtreecommitdiff
path: root/test/functional/provider/python3_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-09-01 09:42:53 -0700
committerGitHub <noreply@github.com>2021-09-01 09:42:53 -0700
commit6751d6254b35d216a86817cd414d5d06e3ff641d (patch)
treea2d6f016fb0b610cd4573477b8d133cca64fb871 /test/functional/provider/python3_spec.lua
parent0603eba6e713b2bd25cbbb55caf2342b0ccdece9 (diff)
downloadrneovim-6751d6254b35d216a86817cd414d5d06e3ff641d.tar.gz
rneovim-6751d6254b35d216a86817cd414d5d06e3ff641d.tar.bz2
rneovim-6751d6254b35d216a86817cd414d5d06e3ff641d.zip
refactor(tests): use assert_alive() #15546
Diffstat (limited to 'test/functional/provider/python3_spec.lua')
-rw-r--r--test/functional/provider/python3_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/provider/python3_spec.lua b/test/functional/provider/python3_spec.lua
index d254edc7d5..d100db8de2 100644
--- a/test/functional/provider/python3_spec.lua
+++ b/test/functional/provider/python3_spec.lua
@@ -1,4 +1,5 @@
local helpers = require('test.functional.helpers')(after_each)
+local assert_alive = helpers.assert_alive
local eval, command, feed = helpers.eval, helpers.command, helpers.feed
local eq, clear, insert = helpers.eq, helpers.clear, helpers.insert
local expect, write_file = helpers.expect, helpers.write_file
@@ -116,6 +117,6 @@ describe('python3 provider', function()
feed_command("exe 'split' tempname()")
feed_command("bwipeout!")
feed_command('help help')
- eq(2, eval('1+1')) -- Still alive?
+ assert_alive()
end)
end)