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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2
diff options
context:
space:
mode:
authorJulien Brianceau2021-04-07 20:43:50 +0200
committerGitHub2021-04-07 20:43:50 +0200
commite8cdfdca87ebacd993befdd08ea6aa7e8068ef3d (patch)
tree9342e9569feb9178b600d6b95cb1f7d7ed380861 /src/catch2
parenta5abec9cb5d7a26b94d3da24fd239c28ac2dbf91 (diff)
downloadcatch3-e8cdfdca87ebacd993befdd08ea6aa7e8068ef3d.tar.gz
Fix typos in the code base (#2206)
Note that only documentation and comments are impacted by this change.
Diffstat (limited to 'src/catch2')
-rw-r--r--src/catch2/internal/catch_enum_values_registry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catch2/internal/catch_enum_values_registry.cpp b/src/catch2/internal/catch_enum_values_registry.cpp
index cfa206f9..b4f425d4 100644
--- a/src/catch2/internal/catch_enum_values_registry.cpp
+++ b/src/catch2/internal/catch_enum_values_registry.cpp
@@ -21,7 +21,7 @@ namespace Catch {
// Extracts the actual name part of an enum instance
// In other words, it returns the Blue part of Bikeshed::Colour::Blue
StringRef extractInstanceName(StringRef enumInstance) {
- // Find last occurence of ":"
+ // Find last occurrence of ":"
size_t name_start = enumInstance.size();
while (name_start > 0 && enumInstance[name_start - 1] != ':') {
--name_start;