Added test for assertion with comma
This commit is contained in:
1 parent
d17d94e45d
commit
51c143b2c6
5 files changed
+36
-7
No files matched your search
@@ -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