Commit c54bf185 authored by Dominik Charousset's avatar Dominik Charousset

harmonized output of unit tests

parent 537a75c2
...@@ -33,15 +33,13 @@ const char* cppa_strip_path(const char* fname) { ...@@ -33,15 +33,13 @@ const char* cppa_strip_path(const char* fname) {
} }
void cppa_unexpected_message(const char* fname, size_t line_num) { void cppa_unexpected_message(const char* fname, size_t line_num) {
std::cerr << "ERROR in file " << fname << " on line " << line_num CPPA_FORMAT_STR(std::cerr, fname, line_num,
<< ": unexpected message: " "ERROR: unexpected message: "
<< to_string(self->last_dequeued()) << to_string(self->last_dequeued()));
<< std::endl;
} }
void cppa_unexpected_timeout(const char* fname, size_t line_num) { void cppa_unexpected_timeout(const char* fname, size_t line_num) {
std::cerr << "ERROR in file " << fname << " on line " << line_num CPPA_FORMAT_STR(std::cerr, fname, line_num, "ERROR: unexpected timeout");
<< ": unexpected timeout" << std::endl;
} }
std::vector<std::string> split(const std::string& str, char delim) { std::vector<std::string> split(const std::string& str, char delim) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment