diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-19 15:35:46 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-19 15:35:46 +0800 |
commit | d6859305513099d125f6dad69cb35f29b796bebf (patch) | |
tree | 033a54f1c569db5eaacde278abfe0a1e6b7b320f /test/crossfile | |
parent | 282ac2d03f6aa686cc5510dfdce5ad5a3df625bb (diff) | |
download | lua-language-server-d6859305513099d125f6dad69cb35f29b796bebf.zip |
dont test cross platform
Diffstat (limited to 'test/crossfile')
-rw-r--r-- | test/crossfile/definition.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua index ad26e96f..ecd6f98e 100644 --- a/test/crossfile/definition.lua +++ b/test/crossfile/definition.lua @@ -688,8 +688,8 @@ TEST { } } -local originOS = platform.OS -platform.OS = 'Linux' + +if platform.OS == 'Linux' then TEST { { @@ -742,7 +742,8 @@ TEST { ]] } } -platform.OS = originOS + +end local originRuntimePath = config.get(nil, 'Lua.runtime.path') config.set(nil, 'Lua.runtime.path', { |