Skip to content

Commit

Permalink
fix: rename problematic generic plugin.proto. Fixes pact-foundation/p…
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jun 28, 2022
1 parent ef83cfe commit 60aaec1
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/pacts/PactGoV4Consumer-V4Provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"interactions": [
{
"description": "A request to do a foo",
"key": "1524c392b16b529a",
"key": "8cd0c6d19eb44457",
"pending": false,
"providerStates": [
{
Expand Down
2 changes: 1 addition & 1 deletion internal/native/io.pact.plugin/plugin.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/native/io.pact.plugin/plugin_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/native/message_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func TestGrpcPluginInteraction(t *testing.T) {
i := m.NewSyncMessageInteraction("grpc interaction")

dir, _ := os.Getwd()
path := fmt.Sprintf("%s/plugin.proto", dir)
path := fmt.Sprintf("%s/pact_plugin.proto", dir)

grpcInteraction := `{
"pact:proto": "` + path + `",
Expand Down
2 changes: 1 addition & 1 deletion internal/native/mock_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func TestPluginInteraction(t *testing.T) {
i := m.NewInteraction("some plugin interaction")

dir, _ := os.Getwd()
path := fmt.Sprintf("%s/plugin.proto", dir)
path := fmt.Sprintf("%s/pact_plugin.proto", dir)

protobufInteraction := `{
"pact:proto": "` + path + `",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/native/plugin.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/native/plugin_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion message/v4/synchronous_message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func TestSyncTypeSystem(t *testing.T) {
log.SetLogLevel("TRACE")

dir, _ := os.Getwd()
path := fmt.Sprintf("%s/../../internal/native/plugin.proto", dir)
path := fmt.Sprintf("%s/../../internal/native/pact_plugin.proto", dir)

grpcInteraction := `{
"pact:proto": "` + path + `",
Expand Down

0 comments on commit 60aaec1

Please sign in to comment.