Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StringMaker specialization for cata_variant #36132

Merged
merged 2 commits into from
Dec 16, 2019

Conversation

jbytheway
Copy link
Contributor

Summary

SUMMARY: None

Purpose of change

For clearer test failures when variant-related tests fail.

Describe the solution

Add a Catch::StringMarker specialization for cata_variant.

Testing

Deliberately broke one of the tests to check that the error prints correctly.

Additional context

I wrote this ages ago when working on the stats PRs, but forgot to PR it.

@ZhilkinSerg ZhilkinSerg added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style Code: Tests Measurement, self-control, statistics, balancing. labels Dec 16, 2019
@ZhilkinSerg ZhilkinSerg merged commit ef1f0a6 into CleverRaven:master Dec 16, 2019
@jbytheway jbytheway deleted the variant_stringmaker branch December 16, 2019 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style Code: Tests Measurement, self-control, statistics, balancing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants