From 598a100bd1a1e4604b6d838c719492b379bfba10 Mon Sep 17 00:00:00 2001 From: Zach Smith Date: Fri, 28 Apr 2017 16:51:36 -0700 Subject: Fix DateTest to handle equal dates correctly --- src/test/scala/xyz/driver/core/DateTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/scala/xyz') diff --git a/src/test/scala/xyz/driver/core/DateTest.scala b/src/test/scala/xyz/driver/core/DateTest.scala index c1185cd..0cf8a9e 100644 --- a/src/test/scala/xyz/driver/core/DateTest.scala +++ b/src/test/scala/xyz/driver/core/DateTest.scala @@ -38,7 +38,7 @@ class DateTest extends FlatSpec with Matchers with Checkers { case Seq(a, b) => if (a.year == b.year) { if (a.month == b.month) { - a.day < b.day + a.day <= b.day } else { a.month < b.month } -- cgit v1.2.3