We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf338d4 commit 09b6916Copy full SHA for 09b6916
tests/strong_ptr.test.cpp
@@ -470,7 +470,7 @@ boost::ut::suite<"monotonic_allocator_test"> monotonic_allocator_test = []() {
470
expect(that % 1 == *int_ptr1) << "Int assignment failed.\n";
471
expect(that % 2 == *int_ptr2) << "Int assignment failed.\n";
472
473
- expect(throws([&] {
+ expect(throws<std::bad_alloc>([&] {
474
[[maybe_unused]] auto ptr3 =
475
allocator.allocate(sizeof(std::uint32_t), alignof(std::uint32_t));
476
}))
0 commit comments