Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Mar 27, 2020
1 parent 4aff57d commit c37dd4a
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -57,9 +57,9 @@ class RDateSpec extends Specification {
Period period = Period.parse('20110319T140400/20110319T180400')

when: 'add period to rdate'
RDate rdate = new RDate()
rdate.periods.add(period)
RDate rdate = new RDate([period])
rdate.periods.get().add(period)

then: 'exception is thrown'
thrown(UnsupportedOperationException)
}
Expand Down

0 comments on commit c37dd4a

Please sign in to comment.