Skip to content

Commit

Permalink
Small change to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukedegruchy committed Nov 9, 2023
1 parent 85f78e2 commit 805636c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ public void test_all_internal_type_representation() {

result = evaluationResult.expressionResults.get("DateTime_Hour").value();
Assert.assertTrue(result instanceof DateTime);
Assert.assertTrue(((DateTime) result).equal(new DateTime(null, 2012, 2, 15, 12)));
// LUKETODO: this fails because expected has an offset of -04:00 but actual has an offset of -05:00
final DateTime expected = new DateTime(null, 2012, 2, 15, 12);
Assert.assertTrue(((DateTime) result).equal(expected));

result = evaluationResult.expressionResults.get("DateTime_Minute").value();
Assert.assertTrue(result instanceof DateTime);
Expand Down

0 comments on commit 805636c

Please sign in to comment.