summaryrefslogtreecommitdiff
path: root/test/highlight
diff options
context:
space:
mode:
Diffstat (limited to 'test/highlight')
-rw-r--r--test/highlight/init.lua1
1 files changed, 1 insertions, 0 deletions
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 }