aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/buffer_updates_spec.lua
diff options
context:
space:
mode:
authorkylo252 <59826753+kylo252@users.noreply.github.com>2022-06-13 13:05:17 +0200
committerGitHub <noreply@github.com>2022-06-13 04:05:17 -0700
commit837360868b557dcb897690178d891c87e91fc27f (patch)
tree744c14f7cd33bfd111a18f674f0ab28ffd10c791 /test/functional/api/buffer_updates_spec.lua
parent663cbe2620278eae658895f82f3eb9bc89310e73 (diff)
downloadrneovim-837360868b557dcb897690178d891c87e91fc27f.tar.gz
rneovim-837360868b557dcb897690178d891c87e91fc27f.tar.bz2
rneovim-837360868b557dcb897690178d891c87e91fc27f.zip
fix(tests): missing clear() #18927
This was caught in #18674 since it allows test isolation
Diffstat (limited to 'test/functional/api/buffer_updates_spec.lua')
-rw-r--r--test/functional/api/buffer_updates_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/api/buffer_updates_spec.lua b/test/functional/api/buffer_updates_spec.lua
index 2728dcf74c..3d257e9477 100644
--- a/test/functional/api/buffer_updates_spec.lua
+++ b/test/functional/api/buffer_updates_spec.lua
@@ -96,6 +96,8 @@ local function reopenwithfolds(b)
end
describe('API: buffer events:', function()
+ before_each(clear)
+
it('when lines are added', function()
local b, tick = editoriginal(true)