@@ -34,7 +34,7 @@ func TestProtocGenTsProtoPlugin(t *testing.T) {
3434 ),
3535 SkipIntegration : true ,
3636 },
37- "includes only relevant M= options" : {
37+ "includes only relevant M options" : {
3838 Input : `
3939syntax = "proto3";
4040
@@ -47,19 +47,19 @@ message M {}
4747` ,
4848 Directives : plugintest .WithDirectives (
4949 "proto_plugin" , "protoc-gen-ts-proto implementation stephenh:ts-proto:protoc-gen-ts-proto" ,
50- "proto_plugin" , "protoc-gen-ts-proto option M=google /protobuf/empty.proto=./external/protobufapis/google/protobuf/empty" ,
51- "proto_plugin" , "protoc-gen-ts-proto option M=google /protobuf/timestamp.proto=./external/protobufapis/google/protobuf/timestamp" ,
52- "proto_plugin" , "protoc-gen-ts-proto option M=google /protobuf/duration.proto=./external/protobufapis/google/protobuf/duration" ,
53- "proto_plugin" , "protoc-gen-ts-proto option M=google /type/timeofday.proto=./external/googleapis/google/type/timeofday" ,
54- "proto_plugin" , "protoc-gen-ts-proto option M=google /type/datetime.proto=./external/googleapis/google/type/datetime" ,
50+ "proto_plugin" , "protoc-gen-ts-proto option Mgoogle /protobuf/empty.proto=./external/protobufapis/google/protobuf/empty" ,
51+ "proto_plugin" , "protoc-gen-ts-proto option Mgoogle /protobuf/timestamp.proto=./external/protobufapis/google/protobuf/timestamp" ,
52+ "proto_plugin" , "protoc-gen-ts-proto option Mgoogle /protobuf/duration.proto=./external/protobufapis/google/protobuf/duration" ,
53+ "proto_plugin" , "protoc-gen-ts-proto option Mgoogle /type/timeofday.proto=./external/googleapis/google/type/timeofday" ,
54+ "proto_plugin" , "protoc-gen-ts-proto option Mgoogle /type/datetime.proto=./external/googleapis/google/type/datetime" ,
5555 ),
5656 PluginName : "protoc-gen-ts-proto" ,
5757 Configuration : plugintest .WithConfiguration (
5858 plugintest .WithLabel (t , "@build_stack_rules_proto//plugin/stephenh/ts-proto:protoc-gen-ts-proto" ),
5959 plugintest .WithOutputs ("test.ts" ),
6060 plugintest .WithOptions (
61- "M=google /protobuf/duration.proto=./external/protobufapis/google/protobuf/duration" ,
62- "M=google /type/datetime.proto=./external/googleapis/google/type/datetime" ,
61+ "Mgoogle /protobuf/duration.proto=./external/protobufapis/google/protobuf/duration" ,
62+ "Mgoogle /type/datetime.proto=./external/googleapis/google/type/datetime" ,
6363 ),
6464 ),
6565 SkipIntegration : true ,
0 commit comments