Index: webrtc/base/sslstreamadapter_unittest.cc |
diff --git a/webrtc/base/sslstreamadapter_unittest.cc b/webrtc/base/sslstreamadapter_unittest.cc |
index 9e156c0b3c1df82c0c3791edd6888080c31e4516..fa4ed6ddbb35e89641eb977203e952719f10e0a0 100644 |
--- a/webrtc/base/sslstreamadapter_unittest.cc |
+++ b/webrtc/base/sslstreamadapter_unittest.cc |
@@ -15,6 +15,7 @@ |
#include <string> |
#include "webrtc/base/bufferqueue.h" |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/gunit.h" |
#include "webrtc/base/helpers.h" |
#include "webrtc/base/ssladapter.h" |
@@ -383,7 +384,7 @@ class SSLStreamAdapterTestBase : public testing::Test, |
// Make sure we simulate a reliable network for TLS. |
// This is just a check to make sure that people don't write wrong |
// tests. |
- ASSERT((mtu_ == 1460) && (loss_ == 0) && (lose_first_packet_ == 0)); |
+ RTC_CHECK((mtu_ == 1460) && (loss_ == 0) && (lose_first_packet_ == 0)); |
} |
if (!identities_set_) |
@@ -420,7 +421,7 @@ class SSLStreamAdapterTestBase : public testing::Test, |
// Make sure we simulate a reliable network for TLS. |
// This is just a check to make sure that people don't write wrong |
// tests. |
- ASSERT((mtu_ == 1460) && (loss_ == 0) && (lose_first_packet_ == 0)); |
+ RTC_CHECK((mtu_ == 1460) && (loss_ == 0) && (lose_first_packet_ == 0)); |
} |
// Start the handshake |