From 21d2da23bc952f99cc400c00c38f7fff45e3da34 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sun, 10 Dec 2023 03:48:32 +0900 Subject: [PATCH] Fix typo in tostring.md specialiation -> specialization --- 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.