summaryrefslogtreecommitdiffstats
path: root/tests/config/tapered/test/exit-failure-test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/config/tapered/test/exit-failure-test.lua')
-rwxr-xr-xtests/config/tapered/test/exit-failure-test.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/config/tapered/test/exit-failure-test.lua b/tests/config/tapered/test/exit-failure-test.lua
new file mode 100755
index 0000000..18339c2
--- /dev/null
+++ b/tests/config/tapered/test/exit-failure-test.lua
@@ -0,0 +1,6 @@
+package.path = '../src/?.lua;' .. package.path
+local tap = require 'tapered'
+
+-- Test exit status with a failed test. Call `fail` and we're done!
+tap.fail('not ok - No test: just fail')
+tap.done()