Merge pull request #2589 from kuzkry:remove-workaround_g++-no-space-after-first-macro-argument
PiperOrigin-RevId: 285255373
This commit is contained in:
commit
5b162a79d4
|
@ -2926,8 +2926,6 @@ TEST_F(FloatTest, EXPECT_NEAR) {
|
|||
EXPECT_NONFATAL_FAILURE(EXPECT_NEAR(1.0f, 1.5f, 0.25f), // NOLINT
|
||||
"The difference between 1.0f and 1.5f is 0.5, "
|
||||
"which exceeds 0.25f");
|
||||
// To work around a bug in gcc 2.95.0, there is intentionally no
|
||||
// space after the first comma in the previous line.
|
||||
}
|
||||
|
||||
// Tests ASSERT_NEAR.
|
||||
|
@ -2937,8 +2935,6 @@ TEST_F(FloatTest, ASSERT_NEAR) {
|
|||
EXPECT_FATAL_FAILURE(ASSERT_NEAR(1.0f, 1.5f, 0.25f), // NOLINT
|
||||
"The difference between 1.0f and 1.5f is 0.5, "
|
||||
"which exceeds 0.25f");
|
||||
// To work around a bug in gcc 2.95.0, there is intentionally no
|
||||
// space after the first comma in the previous line.
|
||||
}
|
||||
|
||||
// Tests the cases where FloatLE() should succeed.
|
||||
|
@ -4323,8 +4319,6 @@ TEST(AssertionWithMessageTest, ASSERT_FLOATING) {
|
|||
ASSERT_DOUBLE_EQ(1, 1) << "This should succeed.";
|
||||
EXPECT_FATAL_FAILURE(ASSERT_NEAR(1, 1.2, 0.1) << "Expect failure.", // NOLINT
|
||||
"Expect failure.");
|
||||
// To work around a bug in gcc 2.95.0, there is intentionally no
|
||||
// space after the first comma in the previous statement.
|
||||
}
|
||||
|
||||
// Tests using ASSERT_FALSE with a streamed message.
|
||||
|
|
Loading…
Reference in New Issue
Block a user