diff options
| author | Ryan Pavlik | 2019-04-08 16:30:28 -0500 |
|---|---|---|
| committer | Martin Hořeňovský | 2019-04-10 09:42:11 +0200 |
| commit | edde6f473604c6364476d2963939272ac7c795d4 (patch) | |
| tree | 07a3175fbfab3b456c8b5e56d8f15e3aa932995a /projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp | |
| parent | 6bc5d172eeaa3f1ba648ee23f44f71244c648416 (diff) | |
| download | catch3-edde6f473604c6364476d2963939272ac7c795d4.tar.gz | |
Fix typos identified by codespell.
Self test baselines also modified accordingly, due to
one typo found in a string in test code.
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp')
| -rw-r--r-- | projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp b/projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp index acddf223..09ac3045 100644 --- a/projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp +++ b/projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp @@ -132,7 +132,7 @@ namespace { struct WhatException : std::exception { char const* what() const noexcept override { - return "This exception has overriden what() method"; + return "This exception has overridden what() method"; } ~WhatException() override; }; @@ -170,7 +170,7 @@ StringMakerException::~StringMakerException() = default; TEST_CASE("Exception as a value (e.g. in REQUIRE_THROWS_MATCHES) can be stringified", "[toString][exception]") { - REQUIRE(::Catch::Detail::stringify(WhatException{}) == "This exception has overriden what() method"); + REQUIRE(::Catch::Detail::stringify(WhatException{}) == "This exception has overridden what() method"); REQUIRE(::Catch::Detail::stringify(OperatorException{}) == "OperatorException"); REQUIRE(::Catch::Detail::stringify(StringMakerException{}) == "StringMakerException"); } |