Pact-jvm: eachLike doesn't seem to generate proper o/p in Java

Created on 5 Mar 2017  路  5Comments  路  Source: pact-foundation/pact-jvm

below is my DSL
```
.object("dataStorePathInfo")
.stringMatcher("basePath", String.format("%s/%s/training-data/[a-z0-9]{20,24}", CUSTOMER, TRAINING))
.eachLike("fileNames", PactDslJsonRootValue.stringType("abc.txt") ,1)
.closeObject()


o/p generated is as follows

"dataStorePathInfo": {
"basePath": "acctestcustomer/acctesttraining/training-data/l0at879y7786mv5z30g1",
"fileNames": [
"\"abc.txt\""
]
}
```

I was expecting file name in o/p to be just "abc.txt" and not "\"abc.txt\""

bug

All 5 comments

Hi, I've hit this issue also - just to add that it appears to affect all the array matching methods (e.g. minArrayLike, maxArrayLike, etc)

Released 3.3.9 with this fix

Great, let me check

3.3.9 version works for me! Thank you!

Was this page helpful?
0 / 5 - 0 ratings