Flush test name to stdout when starting to run a test

This commit is contained in:
Nikita Lisitsa 2025-01-25 20:35:57 +03:00
parent 2c3565df61
commit 5155175d9b

View file

@ -137,7 +137,7 @@ int main(int argc, char ** argv)
std::cout
<< bold << '[' << std::setfill(' ') << std::setw(test_index_len) << std::right << i << '/' << test_count << "] " << name
<< normal << std::string(max_name_length + 5 - name.size(), '.');
<< normal << std::string(max_name_length + 5 - name.size(), '.') << std::flush;
psemek::test::context ctx;