mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Fix comparison of char and int64 in TestWriteFixNegativeInt
It was broken on clang-ppc64le-linux-lnt bot. llvm-svn: 340517
This commit is contained in:
parent
5542bfdc97
commit
d04297e78d
@ -129,7 +129,7 @@ TEST_F(MsgPackWriter, TestWriteFixNegativeInt) {
|
||||
MPWriter.write(i);
|
||||
std::string Output = OStream.str();
|
||||
EXPECT_EQ(Output.size(), 1u);
|
||||
EXPECT_EQ(Output.data()[0], static_cast<int8_t>(i));
|
||||
EXPECT_EQ(static_cast<int8_t>(Output.data()[0]), static_cast<int8_t>(i));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user