Skip to content

Conversation

@percivalalb
Copy link
Contributor

Use https://pkg.go.dev/github.com/stretchr/[email protected]/require#YAMLEq which is already in use by other test files.

[alb@192 kin-openapi]$ git grep -i "yamlEq"
openapi2conv/issue187_test.go:  require.YAMLEq(t, string(spec3), expected)
openapi3/issue883_test.go:              require.YAMLEq(t, `
openapi3/issue883_test.go:              require.YAMLEq(t, spec, string(marshalledYaml))
openapi3/issue883_test.go:              require.YAMLEq(t, `
openapi3/issue883_test.go:              require.YAMLEq(t, `
openapi3/issue883_test.go:              require.YAMLEq(t, spec, string(marshalledYaml))

@fenollp fenollp changed the title Use testify's YAMLEq function openapi3(tests): use testify's YAMLEq function Jun 2, 2024
@fenollp fenollp merged commit f170f8c into getkin:master Jun 2, 2024
@fenollp
Copy link
Collaborator

fenollp commented Jun 2, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants