-Fixed build

This commit is contained in:
James Newton-King
2012-12-31 01:47:43 +13:00
parent 204b8260f1
commit 7c59e211b6
2 changed files with 4 additions and 4 deletions
@@ -376,7 +376,7 @@ namespace Newtonsoft.Json.Tests.Linq
var obj = JObject.Load(jsonReader);
var d = (JValue)obj["d"];
Assert.IsInstanceOfType(typeof(DateTimeOffset), d.Value);
CustomAssert.IsInstanceOfType(typeof(DateTimeOffset), d.Value);
TimeSpan offset = ((DateTimeOffset)d.Value).Offset;
Assert.AreEqual(TimeSpan.FromHours(1), offset);
@@ -394,7 +394,7 @@ namespace Newtonsoft.Json.Tests.Linq
object startDateTime = obj["startDateTime"];
Assert.IsInstanceOfType(typeof(DateTimeOffset), startDateTime);
CustomAssert.IsInstanceOfType(typeof(DateTimeOffset), startDateTime);
}
#endif
}