Add test for multiple streaming parts in UNSCOPED_INFO

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

View File

@@ -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!" );
}