Make options optional, and they'll be set by an option parser later.

master
Zed A. Shaw 1 month ago
parent 4f58ff285e
commit b8072ca3b1
  1. 4
      include/fuc2/testing.hpp

@ -9,12 +9,12 @@ namespace fuc2 {
using Case = std::pair<std::string, Func>;
struct Options {
bool fail_fast;
bool fail_fast = false;
};
struct Set {
std::string name;
Options options;
Options options{};
std::vector<Case> tests;
std::source_location location = std::source_location::current();
};

Loading…
Cancel
Save