summaryrefslogtreecommitdiff
path: root/test/crossfile/definition.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile/definition.lua')
-rw-r--r--test/crossfile/definition.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua
index d1b613cc..cbb5f7fe 100644
--- a/test/crossfile/definition.lua
+++ b/test/crossfile/definition.lua
@@ -730,8 +730,8 @@ TEST {
}
platform.OS = originOS
-local originRuntimePath = config.config.runtime.path
-config.config.runtime.path = {
+local originRuntimePath = config.Lua.runtime.path
+config.Lua.runtime.path = {
'?/1.lua',
}
TEST {
@@ -749,10 +749,10 @@ TEST {
]],
},
}
-config.config.runtime.path = originRuntimePath
+config.Lua.runtime.path = originRuntimePath
-local originRuntimePath = config.config.runtime.path
-config.config.runtime.path = {
+local originRuntimePath = config.Lua.runtime.path
+config.Lua.runtime.path = {
'D:/?/1.lua',
}
TEST {
@@ -770,7 +770,7 @@ TEST {
]],
},
}
-config.config.runtime.path = originRuntimePath
+config.Lua.runtime.path = originRuntimePath
TEST {
{