Skip to content

Commit

Permalink
Remove superfluous semicolon in the INFO macro
Browse files Browse the repository at this point in the history
Closes #1456
  • Loading branch information
horenmar committed Oct 28, 2019
1 parent 2d87b76 commit d4f9690
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/release-notes.md
Expand Up @@ -33,8 +33,10 @@
## 3.0.0 (in progress)

### Breaking changes
* `ANON_TEST_CASE` has been removed, use `TEST_CASE` with no arguments instead.
* `ANON_TEST_CASE` has been removed, use `TEST_CASE` with no arguments instead (#1220)

### Fixes
* The `INFO` macro no longer contains superfluous semicolon (#1456)

## 2.10.2

Expand Down
2 changes: 1 addition & 1 deletion include/internal/catch_capture.hpp
Expand Up @@ -129,7 +129,7 @@

///////////////////////////////////////////////////////////////////////////////
#define INTERNAL_CATCH_INFO( macroName, log ) \
Catch::ScopedMessage INTERNAL_CATCH_UNIQUE_NAME( scopedMessage )( Catch::MessageBuilder( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log );
Catch::ScopedMessage INTERNAL_CATCH_UNIQUE_NAME( scopedMessage )( Catch::MessageBuilder( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log )

///////////////////////////////////////////////////////////////////////////////
#define INTERNAL_CATCH_UNSCOPED_INFO( macroName, log ) \
Expand Down

0 comments on commit d4f9690

Please sign in to comment.