Skip to content

Commit

Permalink
fix json matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
szeort committed Nov 15, 2023
1 parent 5cf8c34 commit e94a68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/matchers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func (m *haveRelationshipMatcher) dataHaveKeyMatcher() types.GomegaMatcher {
type validJSONObjectMatcher struct{}

func (matcher *validJSONObjectMatcher) Match(actual interface{}) (bool, error) {
decoded := map[string]string{}
decoded := map[string]any{}
var body []byte
switch b := actual.(type) {
case []byte:
Expand Down

0 comments on commit e94a68f

Please sign in to comment.