Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
omrikiei committed Dec 20, 2023
1 parent aa37193 commit 97f0581
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion protoc-gen-openapiv2/internal/genopenapi/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6319,7 +6319,8 @@ func TestTagsWithGoTemplate(t *testing.T) {
Description: "{{ import \"file\" }}",
},
{
Name: "ExampleService",
Name: "ExampleService",
Description: "ExampleService!",
},
{
Name: "not a service tag 2",
Expand Down Expand Up @@ -6354,6 +6355,10 @@ func TestTagsWithGoTemplate(t *testing.T) {
Name: "Service with my_key",
Description: "the my_value",
},
{
Name: "service tag",
Description: "ExampleService!",
},
}
if !reflect.DeepEqual(actual.Tags, expectedTags) {
t.Errorf("Expected tags %+v, not %+v", expectedTags, actual.Tags)
Expand Down

0 comments on commit 97f0581

Please sign in to comment.