tap: add unconditional 'fail' call
This commit is contained in:
parent
d67a990de3
commit
d03a248138
6
tap.hpp
6
tap.hpp
@ -73,6 +73,12 @@ namespace util { namespace TAP {
|
||||
void expect_throw (T&&, const char (&fmt)[N], Args&&...);
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
template <size_t N, typename ...Args>
|
||||
void fail (const char (&fmt)[N], Args &&...args)
|
||||
{
|
||||
expect (false, fmt, std::forward<Args> (args)...);
|
||||
}
|
||||
|
||||
void skip (const std::string &msg);
|
||||
void todo (const std::string &msg);
|
||||
void noop (void);
|
||||
|
Loading…
Reference in New Issue
Block a user