Skip to content

Commit

Permalink
fix: failing test on UTC timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Holshausen committed Jun 11, 2020
1 parent 1513613 commit c8f0474
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ class LambdaDslJsonBodySpec extends Specification {
def result = new JsonSlurper().parseText(body.pactDslObject.toString())

then:
result.test ==~ /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}[-+]\d+\[\w+\/\w+]/
result.test ==~ /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}[-+]\d+\[\w+(\/\w+)?]/
}
}

0 comments on commit c8f0474

Please sign in to comment.