| 108 | } |
| 109 | |
| 110 | void PrettyPrinter::print_error(const std::exception &error, bool expected) |
| 111 | { |
| 112 | std::string prefix = expected ? "EXPECTED ERROR: " : "ERROR: "; |
| 113 | *_stream << begin_color("1") << prefix << error.what() << end_color() << "\n"; |
| 114 | } |
| 115 | |
| 116 | void PrettyPrinter::print_list_tests(const std::vector<TestInfo> &infos) |
| 117 | { |