mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue