summaryrefslogtreecommitdiff
path: root/test/diagnostics/trailing-space.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/diagnostics/trailing-space.lua')
-rw-r--r--test/diagnostics/trailing-space.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/diagnostics/trailing-space.lua b/test/diagnostics/trailing-space.lua
new file mode 100644
index 00000000..ff794714
--- /dev/null
+++ b/test/diagnostics/trailing-space.lua
@@ -0,0 +1,32 @@
+TEST [[
+<! !>
+]]
+
+TEST [[
+
+<! !>
+]]
+
+TEST [[
+X = 1<! !>
+]]
+
+TEST [[
+X = [=[
+ ]=]
+]]
+
+TEST [[
+-- xxxx
+]]
+
+TEST [[
+-- [=[
+ ]=]
+]]
+
+TEST [=[
+return [[
+
+]]
+]=]