| 543 | }; |
| 544 | |
| 545 | template <size_t N> constexpr bool parse_string(const char (&s)[N]) { |
| 546 | auto h = test_format_string_handler(); |
| 547 | fmt::detail::parse_format_string(fmt::string_view(s, N - 1), h); |
| 548 | return !h.error; |
| 549 | } |
| 550 | |
| 551 | TEST(base_test, constexpr_parse_format_string) { |
| 552 | static_assert(parse_string("foo"), ""); |
no test coverage detected