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

Improve matching of complex parameters #15

Closed
wants to merge 1 commit into from

Conversation

gburgett
Copy link

I was having a matching issue, as I was attempting to stub curl with an inline data parameter.

pattern : {"environments":[{"sys":{"id":"master","type":"Link","linkType":"Environment"}},{"sys":{"id":"testenv","type":"Link","linkType":"Environment"}}]}
argument: {"environments":[{"sys":{"id":"master","type":"Link","linkType":"Environment"}},{"sys":{"id":"testenv","type":"Link","linkType":"Environment"}}]}
result: 1

Quoting the $pattern variable fixed the issue for me.

@Flamefire
Copy link

Duplicate of #8

@jasonkarns
Copy link
Owner

closing as duplicate

@jasonkarns jasonkarns closed this Jun 4, 2024
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.

3 participants