diff options
Diffstat (limited to 'llvm/unittests/ADT/TwineTest.cpp')
-rw-r--r-- | llvm/unittests/ADT/TwineTest.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/unittests/ADT/TwineTest.cpp b/llvm/unittests/ADT/TwineTest.cpp index ebe06917cee..950eda2b058 100644 --- a/llvm/unittests/ADT/TwineTest.cpp +++ b/llvm/unittests/ADT/TwineTest.cpp @@ -88,14 +88,6 @@ TEST(TwineTest, Concat) { repr(Twine("a").concat(Twine(SmallString<3>("b")).concat(Twine("c"))))); } -TEST(TwineTest, Operators) { - EXPECT_EQ(R"((Twine cstring:"a" stringref:"b"))", repr("a" + StringRef("b"))); - - EXPECT_EQ(R"((Twine stringref:"a" cstring:"b"))", repr(StringRef("a") + "b")); - EXPECT_EQ(R"((Twine stringref:"a" stringref:"b"))", - repr(StringRef("a") + StringRef("b"))); -} - TEST(TwineTest, toNullTerminatedStringRef) { SmallString<8> storage; EXPECT_EQ(0, *Twine("hello").toNullTerminatedStringRef(storage).end()); |