Googletest export
Fix *_THROW tests under MSVC, which produce slightly different type names from std::type_info (e.g. "class std::runtime_error" instead of "std::runtime_error") PiperOrigin-RevId: 341874178
This commit is contained in:
parent
336fd36fee
commit
d385a77297
@ -3355,7 +3355,11 @@ TEST_F(SingleEvaluationTest, OtherCases) {
|
|||||||
|
|
||||||
#if GTEST_HAS_RTTI
|
#if GTEST_HAS_RTTI
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define ERROR_DESC "class std::runtime_error"
|
||||||
|
#else
|
||||||
#define ERROR_DESC "std::runtime_error"
|
#define ERROR_DESC "std::runtime_error"
|
||||||
|
#endif
|
||||||
|
|
||||||
#else // GTEST_HAS_RTTI
|
#else // GTEST_HAS_RTTI
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user