mirror of
https://github.com/catchorg/Catch2.git
synced 2026-01-18 17:21:43 +01:00
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>
This commit is contained in:
@@ -65,7 +65,7 @@ int main( int argc, char* argv[] ) {
|
|||||||
|
|
||||||
returnCode = session.run();
|
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
|
// integer constants in catch_session.hpp for more information
|
||||||
// on what each return code means.
|
// on what each return code means.
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace Catch {
|
|||||||
|
|
||||||
// We cannot forward declare the type with default template argument
|
// We cannot forward declare the type with default template argument
|
||||||
// multiple times, so it is split out into a separate header so that
|
// 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>
|
template <typename Duration = Benchmark::FDuration>
|
||||||
struct BenchmarkStats;
|
struct BenchmarkStats;
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ filelocParser = re.compile(r'''
|
|||||||
''', re.VERBOSE)
|
''', re.VERBOSE)
|
||||||
lineNumberParser = re.compile(r' line="[0-9]*"')
|
lineNumberParser = re.compile(r' line="[0-9]*"')
|
||||||
hexParser = re.compile(r'\b(0[xX][0-9a-fA-F]+)\b')
|
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
|
# before generalizing this parser, make sure that this is checked
|
||||||
# in other places too.
|
# in other places too.
|
||||||
junitDurationsParser = re.compile(r' time="[0-9]+\.[0-9]{3}"')
|
junitDurationsParser = re.compile(r' time="[0-9]+\.[0-9]{3}"')
|
||||||
|
|||||||
Reference in New Issue
Block a user