summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lua-zlib/tap.lua
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/lua-zlib/tap.lua')
-rw-r--r--3rdparty/lua-zlib/tap.lua24
1 files changed, 0 insertions, 24 deletions
diff --git a/3rdparty/lua-zlib/tap.lua b/3rdparty/lua-zlib/tap.lua
deleted file mode 100644
index 05266a9c997..00000000000
--- a/3rdparty/lua-zlib/tap.lua
+++ /dev/null
@@ -1,24 +0,0 @@
-local tap_module = {}
-
-local os = require("os")
-
-local counter = 1
-local failed = false
-
-function tap_module.ok(assert_true, desc)
- local msg = ( assert_true and "ok " or "not ok " ) .. counter
- if ( not assert_true ) then
- failed = true
- end
- if ( desc ) then
- msg = msg .. " - " .. desc
- end
- print(msg)
- counter = counter + 1
-end
-
-function tap_module.exit()
- os.exit(failed and 1 or 0)
-end
-
-return tap_module