From ef6c3fe05addbd299e4fc6e45cec94a83886c18f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 24 Dec 2021 17:03:18 +0800 Subject: cleanup --- test/diagnostics/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/diagnostics') diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index 16c85a63..8c8dbcf6 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -28,7 +28,6 @@ end ---@diagnostic disable: await-in-sync function TEST(script, ...) - files.removeAll() local newScript, catched = catch(script, '!') files.setText('', newScript) files.open('') @@ -50,6 +49,8 @@ function TEST(script, ...) else assert(catched['!'] == nil) end + + files.remove('') end TEST [[ -- cgit v1.2.3