Skip to content

Conversation

ahans
Copy link
Contributor

@ahans ahans commented Aug 11, 2025

The test runner uses Catch2 v3.4.0, while locally we still had v2.13.6. The recent changes to the complex-numbers test work with v2.13.6, while they don't work with v3.4.0, causing compilation to always fail in the test runner. This commit changes the test to be compatible with v3.4.0 and updates the local Catch2 copy.

Copy link
Contributor

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@ahans ahans force-pushed the bugfix/ahans/complex-numbers-catch branch 2 times, most recently from cb8b499 to 2548a8c Compare August 11, 2025 07:21
The test runner uses Catch2 v3.4.0, while locally we still had v2.13.6. The
recent changes to the complex-numbers test work with v2.13.6, while they don't
work with v3.4.0, causing compilation to always fail in the test runner. This
commit changes the test to be compatible with v3.4.0 and updates the local
Catch2 copy.
@ahans ahans force-pushed the bugfix/ahans/complex-numbers-catch branch from 2548a8c to d1c1214 Compare August 11, 2025 07:24
@ahans
Copy link
Contributor Author

ahans commented Aug 11, 2025

@vaeng This should fix the issue introduced with #995. I also tested locally with the test runner. Things are working now.

@vaeng
Copy link
Contributor

vaeng commented Aug 11, 2025

Thanks for taking your time fixing this

@vaeng vaeng self-requested a review August 11, 2025 07:33
@ahans ahans merged commit 5286de5 into main Aug 11, 2025
8 checks passed
@ahans ahans deleted the bugfix/ahans/complex-numbers-catch branch August 11, 2025 07:42
@ahans
Copy link
Contributor Author

ahans commented Aug 11, 2025

I also created #997 and #998 so we don't forget about follow-ups.

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.

2 participants