aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorStewart Stewart <stewinsalot@gmail.com>2017-03-15 21:57:53 -0700
committerStewart Stewart <stewinsalot@gmail.com>2017-03-15 21:57:53 -0700
commitbe262d8b985470e24adc924ca1f4d2b83fca744c (patch)
tree803d183de18d2b67672b03227d7d0df1bdd197f9 /src/test
parent6ece67cd776ca5da1aef6595929772a7f801f1ab (diff)
downloaddriver-core-be262d8b985470e24adc924ca1f4d2b83fca744c.tar.gz
driver-core-be262d8b985470e24adc924ca1f4d2b83fca744c.tar.bz2
driver-core-be262d8b985470e24adc924ca1f4d2b83fca744c.zip
fix tests
Diffstat (limited to 'src/test')
-rw-r--r--src/test/scala/xyz/driver/core/DateTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/xyz/driver/core/DateTest.scala b/src/test/scala/xyz/driver/core/DateTest.scala
index dc9bca3..c1185cd 100644
--- a/src/test/scala/xyz/driver/core/DateTest.scala
+++ b/src/test/scala/xyz/driver/core/DateTest.scala
@@ -10,7 +10,7 @@ class DateTest extends FlatSpec with Matchers with Checkers {
year <- Gen.choose(0, 3000)
month <- Gen.choose(0, 11)
day <- Gen.choose(1, 31)
- } yield Date(year, date.tagMonth(month), day)
+ } yield Date(year, date.Month(month), day)
implicit val arbitraryDate = Arbitrary[Date](dateGenerator)
"Date" should "correctly convert to and from String" in {