aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/072_undo_file_spec.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-04-09 12:26:16 +0100
committerLewis Russell <me@lewisr.dev>2024-04-10 15:53:50 +0100
commit81fc27124b9e1b375e0ce9605ae69c3c2a2d9222 (patch)
tree31a5626cd48b358a53756636a6f813acac41ef06 /test/functional/legacy/072_undo_file_spec.lua
parent889f81c65fa4318ab0fba391904dc43e5633b13e (diff)
downloadrneovim-81fc27124b9e1b375e0ce9605ae69c3c2a2d9222.tar.gz
rneovim-81fc27124b9e1b375e0ce9605ae69c3c2a2d9222.tar.bz2
rneovim-81fc27124b9e1b375e0ce9605ae69c3c2a2d9222.zip
refactor(test): inject after_each differently
Diffstat (limited to 'test/functional/legacy/072_undo_file_spec.lua')
-rw-r--r--test/functional/legacy/072_undo_file_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/072_undo_file_spec.lua b/test/functional/legacy/072_undo_file_spec.lua
index a9eb93b31d..e2785027f7 100644
--- a/test/functional/legacy/072_undo_file_spec.lua
+++ b/test/functional/legacy/072_undo_file_spec.lua
@@ -2,7 +2,7 @@
-- Since this script is sourced we need to explicitly break changes up in
-- undo-able pieces. Do that by setting 'undolevels'.
-local t = require('test.functional.testutil')(after_each)
+local t = require('test.functional.testutil')()
local feed, insert = t.feed, t.insert
local clear, feed_command, expect = t.clear, t.feed_command, t.expect