mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-18 22:00:48 +02:00
Merge bitcoin/bitcoin#30933: test: Prove+document ConstevalFormatString/tinyformat parity
c93bf0e6e2
test: Add missing %c character test (Hodlinator)76cca4aa6f
test: Document non-parity between tinyformat and ConstevalFormatstring (Hodlinator)533013cba2
test: Prove+document ConstevalFormatString/tinyformat parity (Hodlinator)b81a465995
refactor test: Profit from using namespace + using detail function (Hodlinator) Pull request description: Clarifies and puts the extent of parity under test. Broken out from #30546 based on https://github.com/bitcoin/bitcoin/pull/30546#discussion_r1755013263 and https://github.com/bitcoin/bitcoin/pull/30546#discussion_r1756495304. ACKs for top commit: maflcko: re-ACKc93bf0e6e2
🗜 l0rinc: ACKc93bf0e6e2
ryanofsky: Code review ACKc93bf0e6e2
. Just a few cleanups tweaking function declarations and commit comments and consolidating some test cases since last review. Tree-SHA512: 5ecc893b26cf2761c0009861be392ec4c4fceb0ef95052a2f6f9df76b2e459cfb3f9e257f61be07c3bb2ecc6e525e72c5ca853be1f63b70b52785323d3db6b42
This commit is contained in:
@@ -15,6 +15,8 @@ import sys
|
||||
FALSE_POSITIVES = [
|
||||
("src/clientversion.cpp", "strprintf(_(COPYRIGHT_HOLDERS), COPYRIGHT_HOLDERS_SUBSTITUTION)"),
|
||||
("src/test/translation_tests.cpp", "strprintf(format, arg)"),
|
||||
("src/test/util_string_tests.cpp", 'tfm::format(ConstevalFormatString<2>{"%*s"}, "hi", "hi")'),
|
||||
("src/test/util_string_tests.cpp", 'tfm::format(ConstevalFormatString<2>{"%.*s"}, "hi", "hi")'),
|
||||
]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user