Specifying a tolerance with "Within" doesn't work for DateTimeOffset data types
Bug #1089345 reported by
Peter Strøiman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Framework |
Triaged
|
Medium
|
Unassigned |
Bug Description
[Issue now tracked at https:/
I would expect the following test to pass:
[Test]
public void DtoTest()
{
var a = DateTimeOffset.
var b = DateTimeOffset.
}
NUnit.framework version 2.6.2.12296
Changed in nunitv2: | |
milestone: | 2.6.3 → none |
affects: | nunitv2 → nunit-3.0 |
description: | updated |
tags: | added: github |
To post a comment you must log in.
NUnit currently has special code for comparing two DateTimes within a tolerance, but not for DateTimeOffset.