mirror of
https://github.com/google/googletest.git
synced 2025-12-07 01:06:50 +08:00
docs: fix spelling 'behaviour' -> 'behavior' in gtest header comments
This commit is contained in:
parent
50b8600c63
commit
403604dfc7
@ -2144,7 +2144,7 @@ GTEST_DISABLE_MSC_DEPRECATED_POP_()
|
|||||||
#ifdef GTEST_OS_WINDOWS_MOBILE
|
#ifdef GTEST_OS_WINDOWS_MOBILE
|
||||||
// Windows CE has no C library. The abort() function is used in
|
// Windows CE has no C library. The abort() function is used in
|
||||||
// several places in Google Test. This implementation provides a reasonable
|
// several places in Google Test. This implementation provides a reasonable
|
||||||
// imitation of standard behaviour.
|
// imitation of standard behavior.
|
||||||
[[noreturn]] void Abort();
|
[[noreturn]] void Abort();
|
||||||
#else
|
#else
|
||||||
[[noreturn]] inline void Abort() { abort(); }
|
[[noreturn]] inline void Abort() { abort(); }
|
||||||
|
|||||||
@ -84,7 +84,7 @@ class GTEST_API_ String {
|
|||||||
// input is NULL.
|
// input is NULL.
|
||||||
//
|
//
|
||||||
// The wide string is created using the ANSI codepage (CP_ACP) to
|
// The wide string is created using the ANSI codepage (CP_ACP) to
|
||||||
// match the behaviour of the ANSI versions of Win32 calls and the
|
// match the behavior of the ANSI versions of Win32 calls and the
|
||||||
// C runtime.
|
// C runtime.
|
||||||
static LPCWSTR AnsiToUtf16(const char* c_str);
|
static LPCWSTR AnsiToUtf16(const char* c_str);
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ class GTEST_API_ String {
|
|||||||
// input is NULL.
|
// input is NULL.
|
||||||
//
|
//
|
||||||
// The returned string is created using the ANSI codepage (CP_ACP) to
|
// The returned string is created using the ANSI codepage (CP_ACP) to
|
||||||
// match the behaviour of the ANSI versions of Win32 calls and the
|
// match the behavior of the ANSI versions of Win32 calls and the
|
||||||
// C runtime.
|
// C runtime.
|
||||||
static const char* Utf16ToAnsi(LPCWSTR utf16_str);
|
static const char* Utf16ToAnsi(LPCWSTR utf16_str);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user