catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fix typo in tostring.md
- Commit
21d2da23bc952f99cc400c00c38f7fff45e3da34- Author
- Ikko Eltociear Ashimine ·
- Committer
- Martin Hořeňovský
- Parents
d1d7414eb985
Changes
docs/tostring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tostring.md b/docs/tostring.md index adce3cc7..d10e2814 100644 --- a/docs/tostring.md +++ b/docs/tostring.md @@ -75,7 +75,7 @@ CATCH_TRANSLATE_EXCEPTION( MyType const& ex ) { Enums that already have a `<<` overload for `std::ostream` will convert to strings as expected. If you only need to convert enums to strings for test reporting purposes you can provide a `StringMaker` specialisations as any other type. -However, as a convenience, Catch provides the `REGISTER_ENUM` helper macro that will generate the `StringMaker` specialiation for you with minimal code. +However, as a convenience, Catch provides the `REGISTER_ENUM` helper macro that will generate the `StringMaker` specialization for you with minimal code. Simply provide it the (qualified) enum name, followed by all the enum values, and you're done! E.g.