Fix assertion style.

It should be expectation-first...
This commit is contained in:
hashlag
2026-02-02 01:15:38 +03:00
parent a0f17ea127
commit 3de69d3298

View File

@@ -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);
}
}