diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-07 11:46:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-07 11:46:38 +0800 |
commit | 50b9a199e5f4bc2bf2143f5d1b8747bac82d8272 (patch) | |
tree | 9f2344db572a8d2d5df80c8674310c5b23bd1d82 /test | |
parent | 5059d67522a70b45e504c60a433116460318ab29 (diff) | |
download | lua-language-server-50b9a199e5f4bc2bf2143f5d1b8747bac82d8272.zip |
Only test in Windows
Diffstat (limited to 'test')
-rw-r--r-- | test/crossfile/completion.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua index ead28fe2..ea0d234a 100644 --- a/test/crossfile/completion.lua +++ b/test/crossfile/completion.lua @@ -1,6 +1,7 @@ local files = require 'files' local core = require 'core.completion' local furi = require 'file-uri' +local platform = require 'platform' rawset(_G, 'TEST', true) @@ -601,6 +602,7 @@ local z: {} } } +if platform.OS == 'Windows' then Cared['detail'] = true Cared['additionalTextEdits'] = true TEST { @@ -678,3 +680,4 @@ function (a: any, b: any) Cared['detail'] = nil Cared['additionalTextEdits'] = nil +end |