Index: net/spdy/buffered_spdy_framer_unittest.cc |
diff --git a/net/spdy/buffered_spdy_framer_unittest.cc b/net/spdy/buffered_spdy_framer_unittest.cc |
index 08e40e3f36e3f7bc7f756831211f3eddcc24dbd7..ef5576ae8cd5443aeb307c6a7ab057fc36ef3f81 100644 |
--- a/net/spdy/buffered_spdy_framer_unittest.cc |
+++ b/net/spdy/buffered_spdy_framer_unittest.cc |
@@ -226,6 +226,10 @@ TEST_P(BufferedSpdyFramerTest, OnSetting) { |
} |
TEST_P(BufferedSpdyFramerTest, ReadSynStreamHeaderBlock) { |
+ if (spdy_version() > SPDY3) { |
+ // SYN_STREAM not supported in SPDY>3. |
+ return; |
+ } |
SpdyHeaderBlock headers; |
headers["aa"] = "vv"; |
headers["bb"] = "ww"; |
@@ -252,6 +256,7 @@ TEST_P(BufferedSpdyFramerTest, ReadSynStreamHeaderBlock) { |
TEST_P(BufferedSpdyFramerTest, ReadSynReplyHeaderBlock) { |
if (spdy_version() > SPDY3) { |
+ // SYN_REPLY not supported in SPDY>3. |
return; |
} |
SpdyHeaderBlock headers; |