correct naming (#1696)

This commit is contained in:
bocus
2018-05-21 10:06:37 +12:00
committed by James Newton-King
parent 851af6b84b
commit aa4062d586
2 changed files with 12 additions and 12 deletions
@@ -55,11 +55,11 @@ namespace Newtonsoft.Json.Tests.Converters
public void SerializeDateTimeNow()
{
DateTime now = DateTime.Now;
long nowTicks = (long)(now.ToUniversalTime() - new DateTime(1970, 1, 1)).TotalSeconds;
long nowSeconds = (long)(now.ToUniversalTime() - new DateTime(1970, 1, 1)).TotalSeconds;
string result = JsonConvert.SerializeObject(now, new UnixDateTimeConverter());
Assert.AreEqual(nowTicks + "", result);
Assert.AreEqual(nowSeconds + "", result);
}
[Test]