aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHodlinator <172445034+hodlinator@users.noreply.github.com>2024-12-05 14:50:06 +0100
committerHodlinator <172445034+hodlinator@users.noreply.github.com>2024-12-06 21:56:17 +0100
commitc93bf0e6e2cd0e9dc979ed996e41cc1034bc1ad1 (patch)
tree4bd73df555db14a3539831d6a7c47e01b9c3a3df /src
parent76cca4aa6fcd363dee821c837b1b627ea137b7a4 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/test/util_string_tests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/util_string_tests.cpp b/src/test/util_string_tests.cpp
index e40bef6379..340c650fe3 100644
--- a/src/test/util_string_tests.cpp
+++ b/src/test/util_string_tests.cpp
@@ -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");