From c1dc77aed3f0a73db63d0eb33b30f726a07d8122 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, 22 Mar 2019 17:42:42 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E4=B8=AAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/crossfile/completion.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'server/test/crossfile') diff --git a/server/test/crossfile/completion.lua b/server/test/crossfile/completion.lua index b93e6ba8..eaa5ef00 100644 --- a/server/test/crossfile/completion.lua +++ b/server/test/crossfile/completion.lua @@ -409,3 +409,21 @@ TEST { }, } } + +TEST { + { + path = 'a.lua', + content = [[ + local japi = require 'jass.japi' + japi.xxxaaaaxxxx + ]] + }, + { + path = 'a.lua', + content = [[ + local japi = require 'jass.japi' + japi.xxxaaaax@ + ]], + main = true, + }, +} -- cgit v1.2.3