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:
dmauro
2020-11-12 13:32:13 -05:00
committed by Mark Barolak
parent 336fd36fee
commit d385a77297
+4
View File
@@ -3355,7 +3355,11 @@ TEST_F(SingleEvaluationTest, OtherCases) {
#if GTEST_HAS_RTTI
#ifdef _MSC_VER
#define ERROR_DESC "class std::runtime_error"
#else
#define ERROR_DESC "std::runtime_error"
#endif
#else // GTEST_HAS_RTTI