mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Updated tests
This commit is contained in:
@@ -11,7 +11,8 @@ static const std::string target_filename = "logs/file_helper_test.txt";
|
||||
static void write_with_helper(file_helper &helper, size_t howmany)
|
||||
{
|
||||
log_msg msg;
|
||||
msg.formatted << std::string(howmany, '1');
|
||||
|
||||
fmt::format_to(msg.formatted, "{}", std::string(howmany, '1'));
|
||||
helper.write(msg);
|
||||
helper.flush();
|
||||
}
|
||||
|
Reference in New Issue
Block a user