diff options
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
-rw-r--r-- | llvm/unittests/ADT/StringRefTest.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/unittests/ADT/StringRefTest.cpp b/llvm/unittests/ADT/StringRefTest.cpp index f341cf4..a45e83c 100644 --- a/llvm/unittests/ADT/StringRefTest.cpp +++ b/llvm/unittests/ADT/StringRefTest.cpp @@ -1055,12 +1055,6 @@ TEST(StringRefTest, StringLiteral) { EXPECT_EQ(StringRef("Bar"), Strings[1]); } -// Check gtest prints StringRef as a string instead of a container of chars. -// The code is in utils/unittest/googletest/internal/custom/gtest-printers.h -TEST(StringRefTest, GTestPrinter) { - EXPECT_EQ(R"("foo")", ::testing::PrintToString(StringRef("foo"))); -} - static_assert(is_trivially_copyable<StringRef>::value, "trivially copyable"); } // end anonymous namespace |