aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/061_undo_tree_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-06-11 12:36:44 -0400
committerGitHub <noreply@github.com>2016-06-11 12:36:44 -0400
commit871fc6c1e17bc1fc1b3a937ff481aca1f0aeff43 (patch)
tree9770dc1596fb624b323b127917c5d6ac789961f9 /test/functional/legacy/061_undo_tree_spec.lua
parentf0c1a06792586d8373639ad2e9d34de6594cece3 (diff)
parent6881fcd203a0df156557934caf532cc9baa6aa93 (diff)
downloadrneovim-871fc6c1e17bc1fc1b3a937ff481aca1f0aeff43.tar.gz
rneovim-871fc6c1e17bc1fc1b3a937ff481aca1f0aeff43.tar.bz2
rneovim-871fc6c1e17bc1fc1b3a937ff481aca1f0aeff43.zip
Merge #4839 from ZyX-I/luaviml'/lua'/encode_vim_to_object'/functests
Check sanitizer results right after the test
Diffstat (limited to 'test/functional/legacy/061_undo_tree_spec.lua')
-rw-r--r--test/functional/legacy/061_undo_tree_spec.lua14
1 files changed, 10 insertions, 4 deletions
diff --git a/test/functional/legacy/061_undo_tree_spec.lua b/test/functional/legacy/061_undo_tree_spec.lua
index 350a77b2c5..9bf69ccba1 100644
--- a/test/functional/legacy/061_undo_tree_spec.lua
+++ b/test/functional/legacy/061_undo_tree_spec.lua
@@ -1,9 +1,15 @@
-- Tests for undo tree and :earlier and :later.
+local helpers = require('test.functional.helpers')(after_each)
-local helpers = require('test.functional.helpers')
-local expect, feed, source = helpers.expect, helpers.feed, helpers.source
-local eval, clear, execute = helpers.eval, helpers.clear, helpers.execute
-local write_file, command, eq = helpers.write_file, helpers.command, helpers.eq
+local write_file = helpers.write_file
+local execute = helpers.execute
+local command = helpers.command
+local source = helpers.source
+local expect = helpers.expect
+local clear = helpers.clear
+local feed = helpers.feed
+local eval = helpers.eval
+local eq = helpers.eq
local function expect_empty_buffer()
-- The space will be removed by helpers.dedent but is needed because dedent