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 9c1e1d5 commit 658d088
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ class DateTimeGeneratorSpec extends Specification {
def 'supports timezones with zone IDs'() {
expect:
new DateTimeGenerator("yyyy-MM-dd'T'HH:mm:ssZ'['VV']'", null).generate([:]) ==~
/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[-+]\d+\[\w+\/\w+]/
/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[-+]\d+\[\w+(\/\w+)?]/
}
}

0 comments on commit 658d088

Please sign in to comment.