Fixed typos
This commit is contained in:
@@ -1327,7 +1327,7 @@ TEST(FormatForComparisonFailureMessageTest, FormatsNonCharArrayAsPointer) {
|
||||
}
|
||||
|
||||
// Tests formatting a char pointer when it's compared with another pointer.
|
||||
// In this case we want to print it as a raw pointer, as the comparision is by
|
||||
// In this case we want to print it as a raw pointer, as the comparison is by
|
||||
// pointer.
|
||||
|
||||
// char pointer vs pointer
|
||||
|
||||
@@ -227,7 +227,7 @@ class Subprocess:
|
||||
combined in a string.
|
||||
"""
|
||||
|
||||
# The subprocess module is the preferrable way of running programs
|
||||
# The subprocess module is the preferable way of running programs
|
||||
# since it is available and behaves consistently on all platforms,
|
||||
# including Windows. But it is only available starting in python 2.4.
|
||||
# In earlier python versions, we revert to the popen2 module, which is
|
||||
|
||||
@@ -538,7 +538,7 @@ TEST(CodePointToUtf8Test, CanEncode8To11Bits) {
|
||||
|
||||
// 101 0111 0110 => 110-10101 10-110110
|
||||
// Some compilers (e.g., GCC on MinGW) cannot handle non-ASCII codepoints
|
||||
// in wide strings and wide chars. In order to accomodate them, we have to
|
||||
// in wide strings and wide chars. In order to accommodate them, we have to
|
||||
// introduce such character constants as integers.
|
||||
EXPECT_EQ("\xD5\xB6",
|
||||
CodePointToUtf8(static_cast<wchar_t>(0x576)));
|
||||
@@ -1779,7 +1779,7 @@ TEST(Int32FromEnvOrDieDeathTest, AbortsOnFailure) {
|
||||
}
|
||||
|
||||
// Tests that Int32FromEnvOrDie() aborts with an error message
|
||||
// if the variable cannot be represnted by an Int32.
|
||||
// if the variable cannot be represented by an Int32.
|
||||
TEST(Int32FromEnvOrDieDeathTest, AbortsOnInt32Overflow) {
|
||||
SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "1234567891234567891234");
|
||||
EXPECT_DEATH_IF_SUPPORTED(
|
||||
@@ -3658,7 +3658,7 @@ TEST(AssertionTest, AssertFalseWithAssertionResult) {
|
||||
}
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
// Restores warnings after previous "#pragma option push" supressed them
|
||||
// Restores warnings after previous "#pragma option push" suppressed them
|
||||
# pragma option pop
|
||||
#endif
|
||||
|
||||
@@ -4384,7 +4384,7 @@ TEST(ExpectTest, ExpectFalseWithAssertionResult) {
|
||||
}
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
// Restores warnings after previous "#pragma option push" supressed them
|
||||
// Restores warnings after previous "#pragma option push" suppressed them
|
||||
# pragma option pop
|
||||
#endif
|
||||
|
||||
@@ -6642,7 +6642,7 @@ TEST(StreamingAssertionsTest, Truth2) {
|
||||
}
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
// Restores warnings after previous "#pragma option push" supressed them
|
||||
// Restores warnings after previous "#pragma option push" suppressed them
|
||||
# pragma option pop
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user