From ab5e1b39ec6eedf3cc47c845fe0544da48e58829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 16 Dec 2021 17:30:37 +0800 Subject: clean up --- test/crossfile/definition.lua | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua index b0cc232f..f44633e1 100644 --- a/test/crossfile/definition.lua +++ b/test/crossfile/definition.lua @@ -869,10 +869,10 @@ print(t.) } local originRuntimePath = config.get 'Lua.runtime.path' + config.set('Lua.runtime.path', { './?.lua' }) - TEST { { path = 'a.lua', @@ -891,4 +891,25 @@ print(t.) } } +--config.set('Lua.runtime.path', { +-- '/home/?.lua' +--}) +--TEST { +-- { +-- path = '/home/a.lua', +-- content = [[ +--return { +-- = 1, +--} +--]], +-- }, +-- { +-- path = 'b.lua', +-- content = [[ +--local t = require 'a' +--print(t.) +-- ]] +-- } +--} + config.set('Lua.runtime.path', originRuntimePath) -- cgit v1.2.3