From 8cdff13ef2cd6d5529821134997c517c3494a568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 11 Oct 2021 11:16:27 +0800 Subject: fix #713 `runtime.special` broken --- test/crossfile/completion.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test') diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua index ae843d3b..455f0600 100644 --- a/test/crossfile/completion.lua +++ b/test/crossfile/completion.lua @@ -850,3 +850,16 @@ TEST { }, completion = EXISTS } + +config.prop('Lua.runtime.special', 'import', 'require') +TEST { + { path = 'abcde.lua', content = '' }, + { + path = 'main.lua', + main = true, + content = [[ + import 'ab' + ]] + }, + completion = EXISTS +} -- cgit v1.2.3