diff --git a/tap.ipp b/tap.ipp index d83507d2..b60055d0 100644 --- a/tap.ipp +++ b/tap.ipp @@ -48,9 +48,9 @@ void util::TAP::logger::expect (const std::function &test, Args&&... args, const char (&fmt)[N]) { try { - expect (test (std::forward (args)...), msg); + expect (test (std::forward (args)...), fmt); } catch (...) { - expect (false, msg); + expect (false, fmt); } }