diff options
| author | Phil Nash | 2013-04-12 10:43:06 +0100 |
|---|---|---|
| committer | Phil Nash | 2013-04-12 10:43:06 +0100 |
| commit | 243f2d2caff024be5732224e214a0e25035ccc9e (patch) | |
| tree | e24e89410d002f8f6cc0f93ca40876244046d288 /projects | |
| parent | cd9c72c66feb2f1a33c8d77c571c2e1fe248bc4b (diff) | |
| download | catch3-243f2d2caff024be5732224e214a0e25035ccc9e.tar.gz | |
build 33
Diffstat (limited to 'projects')
| -rw-r--r-- | projects/SelfTest/Baselines/approvedResults.txt | 4 | ||||
| -rw-r--r-- | projects/SelfTest/TrickyTests.cpp | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/projects/SelfTest/Baselines/approvedResults.txt b/projects/SelfTest/Baselines/approvedResults.txt index 9b668439..167f1080 100644 --- a/projects/SelfTest/Baselines/approvedResults.txt +++ b/projects/SelfTest/Baselines/approvedResults.txt @@ -1,6 +1,6 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CatchSelfTest is a CATCH v0.9 b32 (integration) host application. +CatchSelfTest is a CATCH v0.9 b33 (integration) host application. Run with -? for options ------------------------------------------------------------------------------- @@ -5452,7 +5452,7 @@ with message: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CatchSelfTest is a CATCH v0.9 b32 (integration) host application. +CatchSelfTest is a CATCH v0.9 b33 (integration) host application. Run with -? for options ------------------------------------------------------------------------------- diff --git a/projects/SelfTest/TrickyTests.cpp b/projects/SelfTest/TrickyTests.cpp index ad84b5ca..2326ca05 100644 --- a/projects/SelfTest/TrickyTests.cpp +++ b/projects/SelfTest/TrickyTests.cpp @@ -336,3 +336,15 @@ TEST_CASE( "Assertions then sections", "" ) } } } + +class Awkward +{ + operator int() const { return 7; } +}; + +//TEST_CASE( "non streamable", "" ) +//{ +// Awkward awkward; +// std::string s = Catch::toString( awkward ); +// REQUIRE( s == "{?}" ); +//} |