mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
fix unittest on platforms with unsigned chars (e.g. linux-ppc)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9004e8d412
commit
4baffeb6be
@ -36,7 +36,7 @@ TEST(TwineTest, Numbers) {
|
||||
EXPECT_EQ("123", Twine::utostr(123).str());
|
||||
EXPECT_EQ("-123", Twine::itostr(-123).str());
|
||||
EXPECT_EQ("123", Twine::utostr((char) 123).str());
|
||||
EXPECT_EQ("-123", Twine::itostr((char) -123).str());
|
||||
EXPECT_EQ("-123", Twine::itostr((signed char) -123).str());
|
||||
|
||||
EXPECT_EQ("7B", Twine::utohexstr(123).str());
|
||||
EXPECT_EQ("FFFFFFFFFFFFFF85", Twine::itohexstr(-123).str());
|
||||
|
Loading…
Reference in New Issue
Block a user