Fix assertion style.
It should be expectation-first...
This commit is contained in:
1 parent
a0f17ea127
commit
3de69d3298
1 file changed
+2
-2
@@ -389,7 +389,7 @@ TEST(DesCryptTests, OutIteratorUsageEncryptTest)
|
||||
DesCrypt::DesEncryptor enc(desKey);
|
||||
enc.EncryptBlock(fact.begin(), fact.end() - 3, data.begin(), data.end());
|
||||
|
||||
ASSERT_EQ(fact, expected);
|
||||
ASSERT_EQ(expected, fact);
|
||||
}
|
||||
|
||||
{
|
||||
@@ -404,7 +404,7 @@ TEST(DesCryptTests, OutIteratorUsageEncryptTest)
|
||||
DesCrypt::DesEncryptor enc(desKey);
|
||||
enc.EncryptBlock(fact.begin(), fact.end() - 4, data.begin(), data.end());
|
||||
|
||||
ASSERT_EQ(fact, expected);
|
||||
ASSERT_EQ(expected, fact);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user