blob: c17f2c42ce7cda36cada8c9b55564638e70850b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
local test_skip = { _is_skipped_tag = {true} }
function test_skip:skip(reason)
return { is_skipped = self._is_skipped_tag, reason = reason, context = self }
end
function test_skip:is_skipped(result)
return result and result.context and result.context._is_skipped_tag == result.is_skipped
end
function main()
return test_skip
end
|