Skip to content

Commit

Permalink
Restored lost import of scalatest.Assertions.convertToEqualizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
culler committed Nov 11, 2014
1 parent f917e06 commit 4c32c04
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ class ExpressionEvaluationSuite extends FunSuite {
}

test("comparison operators for RichDate and RichTimestamp") {
import org.scalatest.Assertions.{convertToEqualizer => EQ}
assert(EQ(RichDate("2014-11-05") < RichDate("2014-11-06")).===(true))
assert(EQ(RichDate("2014-11-05") <= RichDate("2013-11-06")).===(false))
assert(EQ(RichTimestamp("2014-11-05 12:34:56.5432") > RichTimestamp("2014-11-05 00:00:00"))
Expand Down

0 comments on commit 4c32c04

Please sign in to comment.