mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-27 15:09:33 +00:00
Added test for assertion with comma
This commit is contained in:
parent
d17d94e45d
commit
51c143b2c6
5 changed files with 36 additions and 7 deletions
|
@ -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} );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue