aboutsummaryrefslogtreecommitdiff
path: root/test/functional/options/tabstop_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/options/tabstop_spec.lua')
-rw-r--r--test/functional/options/tabstop_spec.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/options/tabstop_spec.lua b/test/functional/options/tabstop_spec.lua
index dc3ba38438..e34f678650 100644
--- a/test/functional/options/tabstop_spec.lua
+++ b/test/functional/options/tabstop_spec.lua
@@ -1,9 +1,8 @@
local helpers = require('test.functional.helpers')(after_each)
+local assert_alive = helpers.assert_alive
local clear = helpers.clear
local feed = helpers.feed
-local eq = helpers.eq
-local eval = helpers.eval
describe("'tabstop' option", function()
before_each(function()
@@ -18,6 +17,6 @@ describe("'tabstop' option", function()
-- Set 'tabstop' to a very high value.
-- Use feed(), not command(), to provoke crash.
feed(':set tabstop=3000000000<CR>')
- eq(2, eval("1+1")) -- Still alive?
+ assert_alive()
end)
end)