Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE-19] Add assert for json response #56

Merged
merged 4 commits into from
Jan 18, 2024
Merged

Conversation

JeJutic
Copy link
Contributor

@JeJutic JeJutic commented Jan 13, 2024

fixes #19

P.S. I'm not completely sure that I understood the issue correctly as long as Equal("$", _json structure made with nested map[string]interface{} and arrays_) was already an option, but I believe EqualJSON("$", "{"a":"as", "b":{"bs":"sb"}}") is better than Equal("$", map[string]interface{}{"a": "as", "b": map[string]interface{}{"bs": "sb"}})

asserts/json/util.go Outdated Show resolved Hide resolved
@siller174
Copy link
Collaborator

Thank you a lot! Please fix import and let's merge!

@siller174 siller174 merged commit c94d785 into ozontech:master Jan 18, 2024
3 checks passed
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.

Add assert for json respone
2 participants