From dcca81c4fa7bd9b745123be8be0c8b07fcd6e29a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sun, 6 Nov 2022 16:10:08 +0800 Subject: fix warnings --- test/highlight/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'test/highlight') diff --git a/test/highlight/init.lua b/test/highlight/init.lua index 399012a8..1bd6cf35 100644 --- a/test/highlight/init.lua +++ b/test/highlight/init.lua @@ -26,6 +26,7 @@ function TEST(script) local start, finish = enter[1], enter[2] local pos = (start + finish) // 2 local positions = core(TESTURI, pos) + assert(positions) local results = {} for _, position in ipairs(positions) do results[#results+1] = { position.start, position.finish } -- cgit v1.2.3