aboutsummaryrefslogtreecommitdiff
path: root/tests/recursive/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/recursive/src')
-rw-r--r--tests/recursive/src/index.html15
-rw-r--r--tests/recursive/src/second.html15
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/recursive/src/index.html b/tests/recursive/src/index.html
new file mode 100644
index 0000000..38b1f0b
--- /dev/null
+++ b/tests/recursive/src/index.html
@@ -0,0 +1,15 @@
+<!DOCTYPE "html">
+<html>
+ <head>
+ <title>@{name()}</title>
+ </head>
+ <body>
+ @{function()
+ local text = ""
+ for i=1,10 do
+ text = text .. ' ' .. tostring(i)
+ end
+ return text
+ end}
+ </body>
+</html>
diff --git a/tests/recursive/src/second.html b/tests/recursive/src/second.html
new file mode 100644
index 0000000..e03a249
--- /dev/null
+++ b/tests/recursive/src/second.html
@@ -0,0 +1,15 @@
+<!DOCTYPE "html">
+<html>
+ <head>
+ <title>@{name()}</title>
+ </head>
+ <body>
+ @{function()
+ local text = ""
+ for i=1,50 do
+ text = text .. ' ' .. tostring(i)
+ end
+ return text
+ end}
+ </body>
+</html>