Commit 8041c45e authored by François Perrad's avatar François Perrad
Browse files

rename tap to test_assertion

parent 074fefa5
codes = true
max_line_length = 132
read_globals = {
-- tap (subset of Test.Assertion)
-- test_assertion (subset of Test.Assertion)
'plan',
'done_testing',
'skip_all',
......
......@@ -8,7 +8,7 @@
The directory `test_lua` contains the following files:
- *.t : test files written in Lua
- tap.lua : a minimal TAP library used when [Test.Assertion](https://fperrad.frama.io/lua-TestAssertion/) is not available
- test_assertion.lua : a minimal TAP library used when [Test.Assertion](https://fperrad.frama.io/lua-TestAssertion/) is not available
- profile*.lua : a set of predefined profile files, `profile.lua` is loaded by default.
- Makefile : an helper
......
......@@ -22,7 +22,7 @@
]]
require'tap'
require'test_assertion'
plan(3)
truthy( true, 'truthy' )
......
......@@ -22,7 +22,7 @@
]]
require'tap'
require'test_assertion'
plan'no_plan'
......
......@@ -22,7 +22,7 @@
]]
require'tap'
require'test_assertion'
local has_op53 = _VERSION >= 'Lua 5.3'
plan'no_plan'
......
......@@ -22,7 +22,7 @@
--]]
require'tap'
require'test_assertion'
local has_op53 = _VERSION >= 'Lua 5.3'
plan'no_plan'
......
......@@ -22,7 +22,7 @@
--]]
require'tap'
require'test_assertion'
local has_op53 = _VERSION >= 'Lua 5.3'
plan'no_plan'
......
......@@ -22,7 +22,7 @@
--]]
require'tap'
require'test_assertion'
local profile = require'profile'
local has_op53 = _VERSION >= 'Lua 5.3'
......
......@@ -22,7 +22,7 @@
--]]
require'tap'
require'test_assertion'
local profile = require'profile'
local has_op53 = _VERSION >= 'Lua 5.3'
......
......@@ -22,7 +22,7 @@
--]]
require'tap'
require'test_assertion'
local has_op53 = _VERSION >= 'Lua 5.3'
plan'no_plan'
......
......@@ -22,7 +22,7 @@
--]]
require'tap'
require'test_assertion'
local has_op53 = _VERSION >= 'Lua 5.3'
plan'no_plan'
......
......@@ -22,7 +22,7 @@
--]]
require'tap'
require'test_assertion'
local has_op53 = _VERSION >= 'Lua 5.3'
plan'no_plan'
......
......@@ -24,7 +24,7 @@ First tests in order to check infrastructure.
--]]
require'tap'
require'test_assertion'
plan(5)
......
......@@ -28,7 +28,7 @@ L<https://www.lua.org/manual/5.4/manual.html#3.3.3>
--]]
require'tap'
require'test_assertion'
local has_env = _VERSION >= 'Lua 5.2'
plan'no_plan'
......
......@@ -28,7 +28,7 @@ L<https://www.lua.org/manual/5.4/manual.html#3.4>
--]]
require'tap'
require'test_assertion'
local profile = require'profile'
local nocvtn2s = profile.nocvtn2s
local nocvts2n = profile.nocvts2n
......
......@@ -31,7 +31,7 @@ L<https://www.lua.org/manual/5.4/manual.html#3.1>
--]]
require'tap'
require'test_assertion'
local loadstring = loadstring or load
local luajit21 = jit and (jit.version_num >= 20100 or jit.version:match'^RaptorJIT')
......
......@@ -28,7 +28,7 @@ L<https://www.lua.org/manual/5.4/manual.html#9>
--]]
require'tap'
require'test_assertion'
local profile = require'profile'
local has_goto = _VERSION >= 'Lua 5.2' or jit
local has_attr = _VERSION >= 'Lua 5.4'
......
......@@ -30,7 +30,7 @@ See section "Local Variables and Blocks" in "Programming in Lua".
--]]
require'tap'
require'test_assertion'
plan(10)
......
......@@ -30,7 +30,7 @@ See section "Functions" in "Programming in Lua".
--]]
require'tap'
require'test_assertion'
local loadstring = loadstring or load
plan(68)
......
......@@ -24,7 +24,7 @@ See section "Closures" in "Programming in Lua".
--]]
require'tap'
require'test_assertion'
plan(15)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment