aboutsummaryrefslogtreecommitdiff
path: root/tests/fixtures/lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures/lua')
-rw-r--r--tests/fixtures/lua/simple.lua5
-rw-r--r--tests/fixtures/lua/single_line.lua2
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/fixtures/lua/simple.lua b/tests/fixtures/lua/simple.lua
new file mode 100644
index 0000000..de527a9
--- /dev/null
+++ b/tests/fixtures/lua/simple.lua
@@ -0,0 +1,5 @@
+--[[ md
+@name test/lua-simple
+Hello from a Lua comment.
+]]
+local x = 1
diff --git a/tests/fixtures/lua/single_line.lua b/tests/fixtures/lua/single_line.lua
new file mode 100644
index 0000000..f541825
--- /dev/null
+++ b/tests/fixtures/lua/single_line.lua
@@ -0,0 +1,2 @@
+--[[ md This comment opens and closes on one line — no chunk. ]]
+local x = 1