Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boost-ext/ut
/ main
Function
main
example/abort.cpp:12–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
10
#include <cassert>
11
12
int main() {
13
using namespace boost::ut;
14
15
"abort"
_test = [] {
16
expect(not aborts([] {}));
17
expect(aborts([] { assert(false); }));
18
expect(aborts([] { throw; }));
19
};
20
}
Callers
nothing calls this directly
Calls
2
expect
Function · 0.85
aborts
Function · 0.85
Tested by
no test coverage detected