test: Add missing %c character test

Proves tinyformat doesn't trigger an exception for \0 characters.

Co-Authored-By: Lőrinc <pap.lorinc@gmail.com>
This commit is contained in:
HodlinatorandLőrinc committed 2024-12-06 21:56:17 +01:00
1 parent 76cca4aa6f
commit c93bf0e6e2
1 file changed
+1
+1
View File
@@ -45,6 +45,7 @@ BOOST_AUTO_TEST_CASE(ConstevalFormatString_NumSpec)
PassFmt<0>("");
PassFmt<0>("%%");
PassFmt<1>("%s");
PassFmt<1>("%c");
PassFmt<0>("%%s");
PassFmt<0>("s%%");
PassFmt<1>("%%%s");