mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 02:45:40 +02:00
Added test for assertion with comma
This commit is contained in:
@@ -398,3 +398,8 @@ TEST_CASE( "has printf", "" ) {
|
||||
// This can cause problems as, currently, stdout itself is not redirect - only the cout (and cerr) buffer
|
||||
printf( "spanner" );
|
||||
}
|
||||
|
||||
TEST_CASE( "assertions with commas are allowed" ) {
|
||||
|
||||
REQUIRE( std::vector<int>{1, 2} == std::vector<int>{1, 2} );
|
||||
}
|
||||
|
Reference in New Issue
Block a user