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 30abe9601d645c19ac145d382051970d80cdc369..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"; |
@@ -251,6 +255,10 @@ TEST_P(BufferedSpdyFramerTest, ReadSynStreamHeaderBlock) { |
} |
TEST_P(BufferedSpdyFramerTest, ReadSynReplyHeaderBlock) { |
+ if (spdy_version() > SPDY3) { |
+ // SYN_REPLY not supported in SPDY>3. |
+ return; |
+ } |
SpdyHeaderBlock headers; |
headers["alpha"] = "beta"; |
headers["gamma"] = "delta"; |