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

Unified Diff: net/ssl/ssl_connection_status_flags_unittest.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « net/ssl/ssl_connection_status_flags.h ('k') | net/third_party/nss/ssl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_connection_status_flags_unittest.cc
diff --git a/net/ssl/ssl_connection_status_flags_unittest.cc b/net/ssl/ssl_connection_status_flags_unittest.cc
index 64fea1313a3ff8d8d561bd9544394911005ca36c..98e4f53b3fd339ac3b451bf0a6cd9f653656f5b7 100644
--- a/net/ssl/ssl_connection_status_flags_unittest.cc
+++ b/net/ssl/ssl_connection_status_flags_unittest.cc
@@ -15,13 +15,13 @@ TEST(SSLConnectionStatusTest, SetCipherSuite) {
int expected_version = SSLConnectionStatusToVersion(connection_status);
SSLConnectionStatusSetCipherSuite(12345, &connection_status);
- EXPECT_EQ(12345, SSLConnectionStatusToCipherSuite(connection_status));
+ EXPECT_EQ(12345U, SSLConnectionStatusToCipherSuite(connection_status));
EXPECT_EQ(expected_version, SSLConnectionStatusToVersion(connection_status));
}
TEST(SSLConnectionStatusTest, SetVersion) {
int connection_status = 0xDEADBEEF;
- int expected_cipher_suite =
+ uint16 expected_cipher_suite =
SSLConnectionStatusToCipherSuite(connection_status);
SSLConnectionStatusSetVersion(SSL_CONNECTION_VERSION_TLS1_2,
« no previous file with comments | « net/ssl/ssl_connection_status_flags.h ('k') | net/third_party/nss/ssl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698