Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catchorg/Catch2
/ thisThrows
Function
thisThrows
tests/SelfTest/UsageTests/Exception.tests.cpp:28–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
namespace {
27
28
int thisThrows() {
29
throw std::domain_error(
"expected exception"
);
30
return 1;
31
}
32
33
int thisDoesntThrow() {
34
return 0;
Callers
1
Exception.tests.cpp
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected