Make QuicSpdyStreamTest.WritingTrailersAfterFIN not rely on AllSupportedVersions order.

gfe-relnote: n/a (test-only change)
PiperOrigin-RevId: 297164866
Change-Id: I112590dd2515ff4a436b3bf23e3a0fcd806191d8
diff --git a/quic/core/http/quic_spdy_stream_test.cc b/quic/core/http/quic_spdy_stream_test.cc
index 1fca1db..c8f9d3a 100644
--- a/quic/core/http/quic_spdy_stream_test.cc
+++ b/quic/core/http/quic_spdy_stream_test.cc
@@ -1489,11 +1489,9 @@
 
 // Test that it is not possible to write Trailers after a FIN has been sent.
 TEST_P(QuicSpdyStreamTest, WritingTrailersAfterFIN) {
-  // EXPECT_QUIC_BUG tests are expensive so only run one instance of them.
   // In IETF QUIC, there is no such thing as FIN flag on HTTP/3 frames like the
-  // HEADERS frame.  That is version 99, which is element 0 of the array, so
-  // pick another element.
-  if (GetParam() != AllSupportedVersions()[1]) {
+  // HEADERS frame.
+  if (UsesHttp3()) {
     return;
   }