You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, while comparing metadata using the consumer Matchers.string we found that we were getting peculiar error messages.
Our example produces this error:
1.1) metadata: Expected 'mock value' (String) to be the same type as 'someString' (String)
I ran it down to the mismatch being that MatcherExecutor's function, matchType, compares actual as "mock value" and expected is a JsonValue.StringValue("someString").
Please can you let me know if I've done something wrong here, thanks!
The text was updated successfully, but these errors were encountered:
Hi, while comparing metadata using the consumer Matchers.string we found that we were getting peculiar error messages.
Our example produces this error:
The consumer pact generator looks like:
Produces a pact json like so:
I made a branch which has this example in a failing test: master...robpre:pact-jvm:example-error-matching
I ran it down to the mismatch being that MatcherExecutor's function, matchType, compares actual as
"mock value"
and expected is aJsonValue.StringValue("someString")
.Please can you let me know if I've done something wrong here, thanks!
The text was updated successfully, but these errors were encountered: