You've already forked cpp-httplib
chore: fix some typos in comments (#2282)
Signed-off-by: bigmoonbit <bigmoonbit@outlook.com>
This commit is contained in:
@@ -993,7 +993,7 @@ void UniversalTersePrint(const T& value, ::std::ostream* os) {
|
|||||||
// NUL-terminated string.
|
// NUL-terminated string.
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void UniversalPrint(const T& value, ::std::ostream* os) {
|
void UniversalPrint(const T& value, ::std::ostream* os) {
|
||||||
// A workarond for the bug in VC++ 7.1 that prevents us from instantiating
|
// A workaround for the bug in VC++ 7.1 that prevents us from instantiating
|
||||||
// UniversalPrinter with T directly.
|
// UniversalPrinter with T directly.
|
||||||
typedef T T1;
|
typedef T T1;
|
||||||
UniversalPrinter<T1>::Print(value, os);
|
UniversalPrinter<T1>::Print(value, os);
|
||||||
|
|||||||
@@ -753,7 +753,7 @@ class ParameterizedTestSuiteRegistry {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Keep track of what type-parameterized test suite are defined and
|
// Keep track of what type-parameterized test suite are defined and
|
||||||
// where as well as which are intatiated. This allows susequently
|
// where as well as which are intatiated. This allows subsequently
|
||||||
// identifying suits that are defined but never used.
|
// identifying suits that are defined but never used.
|
||||||
class TypeParameterizedTestSuiteRegistry {
|
class TypeParameterizedTestSuiteRegistry {
|
||||||
public:
|
public:
|
||||||
@@ -764,7 +764,7 @@ class TypeParameterizedTestSuiteRegistry {
|
|||||||
// Add an instantiation of a suit.
|
// Add an instantiation of a suit.
|
||||||
void RegisterInstantiation(const char* test_suite_name);
|
void RegisterInstantiation(const char* test_suite_name);
|
||||||
|
|
||||||
// For each suit repored as defined but not reported as instantiation,
|
// For each suit reported as defined but not reported as instantiation,
|
||||||
// emit a test that reports that fact (configurably, as an error).
|
// emit a test that reports that fact (configurably, as an error).
|
||||||
void CheckForInstantiations();
|
void CheckForInstantiations();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user