aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorZach Smith <zach@driver.xyz>2017-04-28 16:51:36 -0700
committerZach Smith <zach@driver.xyz>2017-05-04 10:34:33 -0700
commit598a100bd1a1e4604b6d838c719492b379bfba10 (patch)
tree6c44e873df00e123f5577960050b16a4ecaf073d /src/test
parent4eef6fc976117788527e0e65acd2068d0e65893f (diff)
downloaddriver-core-598a100bd1a1e4604b6d838c719492b379bfba10.tar.gz
driver-core-598a100bd1a1e4604b6d838c719492b379bfba10.tar.bz2
driver-core-598a100bd1a1e4604b6d838c719492b379bfba10.zip
Fix DateTest to handle equal dates correctly
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 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
}