Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorThomas Braun2024-11-12 22:13:04 +0100
committerMartin Hořeňovský2024-11-12 23:29:54 +0100
commit506276c59217429c93abd2fe9507c7f45eb81072 (patch)
tree7e49e521bef05fc4a39ecf3c54426d9bd3c2b978 /docs
parentf5cee49c71e7c0e805695b03e8af533783789762 (diff)
downloadcatch3-506276c59217429c93abd2fe9507c7f45eb81072.tar.gz
Fix wrong reference to REGISTER_ENUM
This was renamed to CATCH_REGISTER_ENUM in 541f1ed1 (Only provide CATCH_REGISTER_ENUM, 2019-04-21).
Diffstat (limited to 'docs')
-rw-r--r--docs/tostring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tostring.md b/docs/tostring.md
index b99b6742..513c1b44 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` specialisation for you with minimal code.
+However, as a convenience, Catch provides the `CATCH_REGISTER_ENUM` helper macro that will generate the `StringMaker` specialisation for you with minimal code.
Simply provide it the (qualified) enum name, followed by all the enum values, and you're done!
E.g.