From c37da201b7e10ec1a9257faf04b54c0a8824170a Mon Sep 17 00:00:00 2001 From: Josh Humphries Date: Mon, 11 May 2020 23:19:21 -0400 Subject: [PATCH] actually fix test to work w/ newer grpc version --- grpcurl_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grpcurl_test.go b/grpcurl_test.go index 28f2312..ff2f46e 100644 --- a/grpcurl_test.go +++ b/grpcurl_test.go @@ -247,8 +247,8 @@ func TestGetAllFiles(t *testing.T) { // which indicates "grpc_testing/test.proto", not our local copy. expectedFilesWithReflection := [][]string{ {"grpc_reflection_v1alpha/reflection.proto", "grpc_testing/test.proto"}, - // depending on the version of grpc, the filename could be prefixed with "interop/" - {"grpc_reflection_v1alpha/reflection.proto", "interop/grpc_testing/test.proto"}, + // depending on the version of grpc, the filenames could be prefixed with "interop/" and "reflection/" + {"interop/grpc_testing/test.proto", "reflection/grpc_reflection_v1alpha/reflection.proto"}, } for _, ds := range descSources {