summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-30 18:30:19 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-30 18:30:19 +0000
commit0fffbafa9609e0e289ff3120ab9e23d244c1dbc0 (patch)
tree57dec8b780b8567f2a9e8acf8d23a5107f6b53a9 /unittests
parent7212f809662ea3d54974e5ab64f612fb138e3ec9 (diff)
Twine: Use raw_ostream::write_hex, remove unused itohexstr method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ADT/TwineTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/unittests/ADT/TwineTest.cpp b/unittests/ADT/TwineTest.cpp
index 9a31901864e..61e8a0ac37c 100644
--- a/unittests/ADT/TwineTest.cpp
+++ b/unittests/ADT/TwineTest.cpp
@@ -39,8 +39,7 @@ TEST(TwineTest, Numbers) {
EXPECT_EQ("123", Twine((char) 123).str());
EXPECT_EQ("-123", Twine((signed char) -123).str());
- EXPECT_EQ("7B", Twine::utohexstr(123).str());
- EXPECT_EQ("FFFFFFFFFFFFFF85", Twine::itohexstr(-123).str());
+ EXPECT_EQ("7b", Twine::utohexstr(123).str());
}
TEST(TwineTest, Concat) {