Commit d385a772 by dmauro Committed by Mark Barolak

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
parent 336fd36f
...@@ -3355,7 +3355,11 @@ TEST_F(SingleEvaluationTest, OtherCases) { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment