summaryrefslogtreecommitdiff
path: root/tests/cluacov
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cluacov')
-rw-r--r--tests/cluacov/expected.out16
-rw-r--r--tests/cluacov/test.lua3
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/cluacov/expected.out b/tests/cluacov/expected.out
new file mode 100644
index 0000000..e69870f
--- /dev/null
+++ b/tests/cluacov/expected.out
@@ -0,0 +1,16 @@
+==============================================================================
+test.lua
+==============================================================================
+ local s = "some text"
+ 1 .. "some other"
+ 1 return s
+
+==============================================================================
+Summary
+==============================================================================
+
+File Hits Missed Coverage
+-----------------------------
+test.lua 2 0 100.00%
+-----------------------------
+Total 2 0 100.00%
diff --git a/tests/cluacov/test.lua b/tests/cluacov/test.lua
new file mode 100644
index 0000000..bd21241
--- /dev/null
+++ b/tests/cluacov/test.lua
@@ -0,0 +1,3 @@
+local s = "some text"
+ .. "some other"
+return s