[#BloombergLP-bdlt-FormatTestUtil-testFormat] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/FormatTestUtil.adoc[FormatTestUtil]::testFormat :relfileprefix: ../../../ :mrdocs: Compare the specified `exp` to the string result of calling `bsl::format` with the specified `format` and `value`, and return `true` if they match and `false` otherwise. If they do not match, load into the specified `message` a value describing the inputs and result of the failed test. Perform these tests for both `char`‐based and `wchar_t`‐based strings. == Synopsis Declared in `<bdlt_formattestutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_VALUE_TYPE> static bool testFormat( xref:bsl/string.adoc[bsl::string]* message, std::string_view const& exp, std::string_view const& format, t_VALUE_TYPE const& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#