A little cleanup before trying to use it.

master
Zed A. Shaw 1 month ago
parent 637dcabd63
commit ca5cad83e2
  1. 3
      src/fuc2.cpp
  2. 1
      tests/sample1.cpp

@ -27,8 +27,7 @@ namespace fuc2 {
test_sig.function_name()); test_sig.function_name());
} }
void CHECK(bool test, const std::string &message, const std::source_location location) void CHECK(bool test, const std::string &message, const std::source_location location) {
{
if(!test) { if(!test) {
auto test_value = fmt::format("{} != true", test); auto test_value = fmt::format("{} != true", test);
throw std::runtime_error( throw std::runtime_error(

@ -56,7 +56,6 @@ namespace sample1 {
BLOWS_UP(runner, "pop_front empty should crash"); BLOWS_UP(runner, "pop_front empty should crash");
} }
fuc2::Set TESTS{ fuc2::Set TESTS{
.name="std::deque basic operations", .name="std::deque basic operations",
.options={ .fail_fast=false }, .options={ .fail_fast=false },

Loading…
Cancel
Save