Fix forward broken gmock-matchers_test
Missing #if GTEST_HAS_STD_WSTRING around ToString() in the test PiperOrigin-RevId: 959658357 Change-Id: I5e601749205672c4582df518c85552fb48b6147c
This commit is contained in:
committed by
Copybara-Service
parent
488c47cc68
commit
c5a47cc5bd
@@ -1273,7 +1273,9 @@ TEST(StringType, TestConversions) {
|
||||
|
||||
#if GTEST_INTERNAL_HAS_STRING_VIEW
|
||||
EXPECT_EQ("foo", ToString(internal::StringView("foo")));
|
||||
#if GTEST_HAS_STD_WSTRING
|
||||
EXPECT_EQ(L"foo", ToString(std::wstring_view(L"foo")));
|
||||
#endif
|
||||
#endif // GTEST_INTERNAL_HAS_STRING_VIEW
|
||||
|
||||
// Non deducible types.
|
||||
|
||||
Reference in New Issue
Block a user