Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Unified Diff: crypto/encryptor_unittest.cc

Issue 2677583002: Fix non-noise cpplint errors in //crypto. (Closed)
Patch Set: fix p224_unittest.cc Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crypto/encryptor.cc ('k') | crypto/hmac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/encryptor_unittest.cc
diff --git a/crypto/encryptor_unittest.cc b/crypto/encryptor_unittest.cc
index 7166c74f6e6baf1f6e721389a49f2eaabbdad0a7..2294bdb173e0e1d1a3558ea7675a62acb503e9e1 100644
--- a/crypto/encryptor_unittest.cc
+++ b/crypto/encryptor_unittest.cc
@@ -325,7 +325,7 @@ TEST(EncryptorTest, CTRCounter) {
counter1.Increment();
counter1.Write(buf);
EXPECT_EQ(0, memcmp(buf, kTest1, 15));
- EXPECT_TRUE(buf[15] == 10);
+ EXPECT_EQ(10, buf[15]);
// Check corner cases.
const unsigned char kTest2[] = {
« no previous file with comments | « crypto/encryptor.cc ('k') | crypto/hmac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698