Update DslToWireMockClientConverterSpec.groovy

This commit is contained in:
JohannesDorn
2017-11-28 08:33:45 +01:00
committed by GitHub
parent 130600dce2
commit 475ab6af4b

View File

@@ -627,7 +627,7 @@ class DslToWireMockClientConverterSpec extends Specification {
}, {
"matchesJsonPath" : "$[?(@.alpha == 'abc')]"
}, {
"matchesJsonPath" : "$[?(@.number =~ /(-?\\\\d*(\\\\.\\\\d+)?)/)]"
"matchesJsonPath" : "$[?(@.number =~ /(-?(\\\\d*\\\\.\\\\d+|\\\\d+)/)]"
}, {
"matchesJsonPath" : "$[?(@.aBoolean =~ /((true|false))/)]"
}, {