Function allowThrows

Synopsis

#include <include/internal/catch_assertionhandler.h>

auto allowThrows() const -> bool

Description

No description yet.

Source

Lines 71-73 in include/internal/catch_assertionhandler.cpp. Line 81 in include/internal/catch_assertionhandler.h.

auto AssertionHandler::allowThrows() const -> bool {
    return getCurrentContext().getConfig()->allowThrows();
}





Add Discussion as Guest

Log in