mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-26 01:32:26 +01:00
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:
parent
76cca4aa6f
commit
c93bf0e6e2
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user