Progmasoft Git

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

chore: fix some typos in comments (#3048)

Signed-off-by: bigmoonbit <bigmoonbit@outlook.com>
Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
Commit
cd4fc88e2a50b59b117a974e69366232243d4f56
Author
bigmoonbit ·
Committer
GitHub
Parents
a50ac2f68117

Files · Download .tar.gz

Changes

 docs/own-main.md                                          | 2 +-
 src/catch2/benchmark/detail/catch_benchmark_stats_fwd.hpp | 2 +-
 tools/scripts/approvalTests.py                            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/own-main.md b/docs/own-main.md
index 4cc21b15..07cb4903 100644
--- a/docs/own-main.md
+++ b/docs/own-main.md
@@ -65,7 +65,7 @@ int main( int argc, char* argv[] ) {
 
   returnCode = session.run();
 
-  // returnCode encodes the type of error that occured. See the
+  // returnCode encodes the type of error that occurred. See the
   // integer constants in catch_session.hpp for more information
   // on what each return code means.
 
diff --git a/src/catch2/benchmark/detail/catch_benchmark_stats_fwd.hpp b/src/catch2/benchmark/detail/catch_benchmark_stats_fwd.hpp
index 2ccc25d5..d59cc9b8 100644
--- a/src/catch2/benchmark/detail/catch_benchmark_stats_fwd.hpp
+++ b/src/catch2/benchmark/detail/catch_benchmark_stats_fwd.hpp
@@ -14,7 +14,7 @@ namespace Catch {
 
     // We cannot forward declare the type with default template argument
     // multiple times, so it is split out into a separate header so that
-    // we can prevent multiple declarations in dependees
+    // we can prevent multiple declarations in dependencies
     template <typename Duration = Benchmark::FDuration>
     struct BenchmarkStats;
 
diff --git a/tools/scripts/approvalTests.py b/tools/scripts/approvalTests.py
index 144edc06..72ff26ca 100755
--- a/tools/scripts/approvalTests.py
+++ b/tools/scripts/approvalTests.py
@@ -56,7 +56,7 @@ filelocParser = re.compile(r'''
 ''', re.VERBOSE)
 lineNumberParser = re.compile(r' line="[0-9]*"')
 hexParser = re.compile(r'\b(0[xX][0-9a-fA-F]+)\b')
-# Note: junit must serialize time with 3 (or or less) decimal places
+# Note: junit must serialize time with 3 (or less) decimal places
 #       before generalizing this parser, make sure that this is checked
 #       in other places too.
 junitDurationsParser = re.compile(r' time="[0-9]+\.[0-9]{3}"')