summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-27 16:36:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-27 16:36:00 +0800
commite3fe32a65e7cd0d3a93c42ec24a37ac933881d2f (patch)
tree2dd8e65bf401a9b303b5a56a6ea32aa2196669a0 /test
parent8f820796f40ec260598fdb0ecf5329c2f89be900 (diff)
downloadlua-language-server-e3fe32a65e7cd0d3a93c42ec24a37ac933881d2f.zip
don't check `trailing-space` for comments
Diffstat (limited to 'test')
-rw-r--r--test/diagnostics/common.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua
index 759039a6..e88fbf43 100644
--- a/test/diagnostics/common.lua
+++ b/test/diagnostics/common.lua
@@ -87,6 +87,15 @@ X = [=[
]]
TEST [[
+-- xxxx
+]]
+
+TEST [[
+-- [=[
+ ]=]
+]]
+
+TEST [[
local x
print(x)
local <!x!>