From fd6b301dd2b4e01f348994f58634b2c0da39a04d Mon Sep 17 00:00:00 2001 From: zztrieuzz Date: Sun, 21 Nov 2021 19:24:09 +0700 Subject: [PATCH] fix test --- tests/nvim-autopairs_spec.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/nvim-autopairs_spec.lua b/tests/nvim-autopairs_spec.lua index 7ff7de6..b5e3acb 100644 --- a/tests/nvim-autopairs_spec.lua +++ b/tests/nvim-autopairs_spec.lua @@ -607,8 +607,7 @@ local function Test(test_data) end end + describe('autopairs ', function() - _G.Test_withfile(run_data,{ - before_each = reset_test, - }) + Test(run_data) end)