MCPcopy Create free account
hub / github.com/fmtlib/fmt / check_format_string_regression

Function check_format_string_regression

test/printf-test.cc:555–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553
554template <typename... Args>
555void check_format_string_regression(fmt::string_view s, const Args&... args) {
556 fmt::sprintf(s, args...);
557}
558
559TEST(printf_test, check_format_string_regression) {
560 check_format_string_regression("%c%s", 'x', "");

Callers 1

TESTFunction · 0.85

Calls 1

sprintfFunction · 0.85

Tested by

no test coverage detected