File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ void testHttpJsonCompliance_userApiVersionSetSuccess() throws IOException {
241241 @ Test
242242 void testGrpcCall_sendsCorrectApiClientHeader () {
243243 Pattern defautlGrpcHeaderPattern =
244- Pattern .compile ("gl-java/.* gapic/.*?--protobuf-.* gax/.* grpc/.* protobuf/.*" );
244+ Pattern .compile ("gl-java/.* gapic/.*?--protobuf-\\ d .* gax/.* grpc/.* protobuf/\\ d .*" );
245245 grpcClient .echo (EchoRequest .newBuilder ().build ());
246246 String headerValue = grpcInterceptor .metadata .get (API_CLIENT_HEADER_KEY );
247247 assertTrue (defautlGrpcHeaderPattern .matcher (headerValue ).matches ());
@@ -250,7 +250,7 @@ void testGrpcCall_sendsCorrectApiClientHeader() {
250250 @ Test
251251 void testHttpJson_sendsCorrectApiClientHeader () {
252252 Pattern defautlHttpHeaderPattern =
253- Pattern .compile ("gl-java/.* gapic/.*?--protobuf-.* gax/.* rest/ protobuf/.*" );
253+ Pattern .compile ("gl-java/.* gapic/.*?--protobuf-\\ d .* gax/.* rest/ protobuf/\\ d .*" );
254254 httpJsonClient .echo (EchoRequest .newBuilder ().build ());
255255 ArrayList <String > headerValues =
256256 (ArrayList <String >)
You can’t perform that action at this time.
0 commit comments