diff options
| author | Phil Nash | 2017-04-26 16:12:48 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-04-26 16:12:48 +0100 |
| commit | 51c143b2c61ba4d7124e0e58a07d8b7db5965e4c (patch) | |
| tree | 71b0b12236d53c42b816404ba44037256eb30f55 /projects/SelfTest/TrickyTests.cpp | |
| parent | d17d94e45d3223985158ac7cda8b9fead191da4f (diff) | |
| download | catch3-51c143b2c61ba4d7124e0e58a07d8b7db5965e4c.tar.gz | |
Added test for assertion with comma
Diffstat (limited to 'projects/SelfTest/TrickyTests.cpp')
| -rw-r--r-- | projects/SelfTest/TrickyTests.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/projects/SelfTest/TrickyTests.cpp b/projects/SelfTest/TrickyTests.cpp index 05053fe3..129fc2a2 100644 --- a/projects/SelfTest/TrickyTests.cpp +++ b/projects/SelfTest/TrickyTests.cpp @@ -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} ); +} |