mirror of
https://github.com/google/googletest.git
synced 2025-12-04 14:57:29 +08:00
Removes all uses of StrStream; fixes the VC projects and simplifies them by using gtest-all.cc.
This commit is contained in:
@@ -1517,18 +1517,18 @@ AssertionResult CmpHelperFloatingPointEQ(const char* expected_expression,
|
||||
return AssertionSuccess();
|
||||
}
|
||||
|
||||
StrStream expected_ss;
|
||||
::std::stringstream expected_ss;
|
||||
expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
|
||||
<< expected;
|
||||
|
||||
StrStream actual_ss;
|
||||
::std::stringstream actual_ss;
|
||||
actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2)
|
||||
<< actual;
|
||||
|
||||
return EqFailure(expected_expression,
|
||||
actual_expression,
|
||||
StrStreamToString(&expected_ss),
|
||||
StrStreamToString(&actual_ss),
|
||||
StringStreamToString(&expected_ss),
|
||||
StringStreamToString(&actual_ss),
|
||||
false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user