eachLike doesn't seem to generate proper o/p in Java
See original GitHub issuebelow 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\””
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
For-Each and Pointers in Java [duplicate] - Stack Overflow
My question in, how can I make 't' a pointer to 'arr' so that I am able to change the values in a...
Read more >Consumer Kotlin DSL API proposal · Issue #1352 - GitHub
One thing I would consider is to not wrap the existing DSL as it has been written based on the constraints imposed by...
Read more >pact-jvm
However, in our project, we?d like to use Cucumber-JVM with a Pact build ... There doesn't appear to be end points for pact...
Read more >Help us brainstorm closure syntax. - Google Groups
The bar syntax doesn't feel much like Java… Just out of curiosity: what would prevent the use of regular parentheses? I'd be against...
Read more >[UNSUPPORTED][TP] Warpz0r v1.4.2 - Multiworld Warp and Home ...
Logging back in and out doesn't seem to fix it. It's as if the chunk is not loading properly before they get there....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Released 3.3.9 with this fix
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)