diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-10-16 22:43:10 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-10-16 22:43:10 +0000 |
commit | a85ad23a1fb6f7465705a5b69dad3d5e77d20df0 (patch) | |
tree | 2e2e74816b7990f73d27e5fe984320b9aae37c2d | |
parent | 75a5df1d1e086f3d9c46e1b602381fb56a8911f3 (diff) | |
download | external_llvm-a85ad23a1fb6f7465705a5b69dad3d5e77d20df0.zip external_llvm-a85ad23a1fb6f7465705a5b69dad3d5e77d20df0.tar.gz external_llvm-a85ad23a1fb6f7465705a5b69dad3d5e77d20df0.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192854 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | unittests/CodeGen/DIEHashTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/CodeGen/DIEHashTest.cpp b/unittests/CodeGen/DIEHashTest.cpp index 86358d5..91b0322 100644 --- a/unittests/CodeGen/DIEHashTest.cpp +++ b/unittests/CodeGen/DIEHashTest.cpp @@ -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); } } |