Permalink
Browse files

Fixed granularity test (#26)

There were problem with section (zdt.getMonth == Month.JANUARY),. There were && missing.
  • Loading branch information...
tmucha82 authored and fedefernandez committed Nov 9, 2017
1 parent 671bcd1 commit 1f6994eead36e4dfa74c2dc0484bd1221cb736b5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/scala/scalachecklib/ScalacheckDatetimeSection.scala
@@ -94,7 +94,7 @@ object ScalacheckDatetimeSection

check {
forAll { zdt: ZonedDateTime =>
zdt.getMonth == Month.JANUARY
(zdt.getMonth == Month.JANUARY) &&
(zdt.getDayOfMonth == res0) &&
(zdt.getHour == res1) &&
(zdt.getMinute == res2) &&

0 comments on commit 1f6994e

Please sign in to comment.