mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +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
|
||||
// Windows CE has no C library. The abort() function is used in
|
||||
// several places in Google Test. This implementation provides a reasonable
|
||||
// imitation of standard behaviour.
|
||||
// imitation of standard behavior.
|
||||
[[noreturn]] void Abort();
|
||||
#else
|
||||
[[noreturn]] inline void Abort() { abort(); }
|
||||
|
||||
@ -84,7 +84,7 @@ class GTEST_API_ String {
|
||||
// input is NULL.
|
||||
//
|
||||
// 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.
|
||||
static LPCWSTR AnsiToUtf16(const char* c_str);
|
||||
|
||||
@ -94,7 +94,7 @@ class GTEST_API_ String {
|
||||
// input is NULL.
|
||||
//
|
||||
// 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.
|
||||
static const char* Utf16ToAnsi(LPCWSTR utf16_str);
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user