Index: net/tools/quic/quic_client_session_test.cc |
diff --git a/net/tools/quic/quic_client_session_test.cc b/net/tools/quic/quic_client_session_test.cc |
index ac65bf5998316296f3c481394d3a6813978f4a4b..0754dd0e50b51991fb2fea0a388fbf7cdc1e0ac8 100644 |
--- a/net/tools/quic/quic_client_session_test.cc |
+++ b/net/tools/quic/quic_client_session_test.cc |
@@ -150,8 +150,8 @@ TEST_P(QuicClientSessionTest, NoEncryptionAfterInitialEncryption) { |
EXPECT_TRUE(session_->IsEncryptionEstablished()); |
QuicSpdyClientStream* stream = |
session_->CreateOutgoingDynamicStream(kDefaultPriority); |
- DCHECK_NE(kCryptoStreamId, stream->id()); |
- EXPECT_TRUE(stream != nullptr); |
+ ASSERT_TRUE(stream != nullptr); |
+ EXPECT_NE(kCryptoStreamId, stream->id()); |
// Process an "inchoate" REJ from the server which will cause |
// an inchoate CHLO to be sent and will leave the encryption level |