Skip to content

Commit

Permalink
tests/DateTime: Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
oysteinkrog committed Mar 10, 2015
1 parent f0c7f07 commit 04f117b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/SerializableTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void SupportsSerializableDateTime()
var found = _db.Get<ComplexType>(m => m.ID == model.ID);
var endOfPreviousSecond = value.AddMilliseconds(-value.Millisecond - 1);
var startOfNextSecond = value.AddMilliseconds(1000 - value.Millisecond + 1);
Assert.That(found.DateTimeValue.InnerValue, Is.InRange(endOfPreviousSecond, startOfNextSecond));
Assert.That(found.DateTimeValue.InnerValue.ToUniversalTime(), Is.InRange(endOfPreviousSecond, startOfNextSecond));
}

[Test]
Expand Down

0 comments on commit 04f117b

Please sign in to comment.