1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Invert arguments to ASSERT_EQ to match gtest diagnostic printing

GTest assumes the left hand side of the assert is the expectation and
the right hand side is the test result. It's easier to read gtest
failures when these things are ordered correctly.

llvm-svn: 192854
This commit is contained in:
David Blaikie 2013-10-16 22:43:10 +00:00
parent 06b4e2c63a
commit d991bcf46c

View File

@ -23,6 +23,6 @@ TEST(DIEHashData1Test, DIEHash) {
DIEInteger Size(4);
Die.addValue(dwarf::DW_AT_byte_size, dwarf::DW_FORM_data1, &Size);
uint64_t MD5Res = Hash.computeTypeSignature(&Die);
ASSERT_EQ(MD5Res, 0x4F68EF1039F8D2BULL);
ASSERT_EQ(0x4F68EF1039F8D2BULL, MD5Res);
}
}