Fix test_bazel_license_prints_jdk_license after updating langtools LICENSE

RELNOTES:None
PiperOrigin-RevId: 308052690
diff --git a/src/test/shell/bazel/bazel_with_jdk_test.sh b/src/test/shell/bazel/bazel_with_jdk_test.sh
index 6db1ff4..3797a07 100755
--- a/src/test/shell/bazel/bazel_with_jdk_test.sh
+++ b/src/test/shell/bazel/bazel_with_jdk_test.sh
@@ -122,9 +122,6 @@
 
   expect_log '"CLASSPATH" EXCEPTION TO THE GPL' || \
       fail "'bazel license' did not print an expected string from LICENSE"
-
-  expect_log "which may be included with JRE [0-9]\+, JDK [0-9]\+, and OpenJDK [0-9]\+" || \
-      fail "'bazel license' did not print an expected string from THIRD_PARTY_README"
 }
 
 run_suite "bazel test suite"