correct serialization of DateTime and Boolean values

This commit is contained in:
2013-09-18 21:14:07 +02:00
parent de1e4efc70
commit d009afd033
2 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -35,12 +35,12 @@ namespace PocketSharp.Tests
List<PocketItem> items = await client.Retrieve(
state: State.unread,
tag: "pocket",
contentType: ContentType.article,
sort: Sort.title,
since: new DateTime(2010, 12, 10),
count: 2
);
Assert.True(items.Count > 0);
Assert.InRange<int>(items.Count, 0, 2);
}