Skip to content

Add include to make catch_matchers_impl.hpp self-sufficient - #3210

Open
jtunhag wants to merge 1 commit into
catchorg:develfrom
jtunhag:patch-1
Open

jtunhag wants to merge 1 commit into
catchorg:develfrom
jtunhag:patch-1

Conversation

@jtunhag

@jtunhag jtunhag commented Oct 2, 2026

Copy link
Copy Markdown

Description

Add include of catch_test_macro_impl.hpp to catch_matchers_impl.hpp to make it self-sufficient by providing the missing INTERNAL_CATCH_TRY.

This was motivated after I included only catch2/matchers/catch_matchers_floating_point.hpp to further develop my own floating-point matchers, which then couldn't see the definition for INTERNAL_CATCH_TRY.

GitHub Issues

@codecov

codecov Bot commented Oct 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.17%. Comparing base (222e233) to head (307a3ab).

Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #3210   +/-   ##
=======================================
  Coverage   91.17%   91.17%           
=======================================
  Files         206      206           
  Lines        9080     9080           
=======================================
  Hits         8278     8278           
  Misses        802      802           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant