Add test for multiple streaming parts in UNSCOPED_INFO

This commit is contained in:
Martin Hořeňovský committed 2023-09-17 10:44:31 +02:00
1 parent 92672591c1
commit 9c541ca72e
18 files changed
+139 -18

No files matched your search

@@ -285,3 +285,14 @@ TEST_CASE("CAPTURE parses string and character constants", "[messages][capture]"
#ifdef _MSC_VER
#pragma warning(pop)
#endif
TEST_CASE( "INFO and UNSCOPED_INFO can stream multiple arguments",
"[messages][info][.failing]" ) {
INFO( "This info"
<< " has multiple"
<< " parts." );
UNSCOPED_INFO( "This unscoped info"
<< " has multiple"
<< " parts." );
FAIL( "Show infos!" );
}