Permalink
Browse files

Verify parsed result of empty recur parts

  • Loading branch information...
benfortuna committed Jun 29, 2016
1 parent 3a56273 commit 288bd9b173407a3bf5c57714561c22029ccef29d
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/test/groovy/net/fortuna/ical4j/model/RecurSpec.groovy
@@ -191,10 +191,10 @@ class RecurSpec extends Specification {
def recur = new Recur(rule)
expect:
-// thrown(NumberFormatException)
- recur != null
+ recur as String == parsedString
where:
- rule << ["FREQ=WEEKLY;BYDAY=;INTERVAL=1"]
+ rule | parsedString
+ 'FREQ=WEEKLY;BYDAY=;INTERVAL=1' | 'FREQ=WEEKLY;INTERVAL=1'
}
}

0 comments on commit 288bd9b

Please sign in to comment.