Skip to content

Commit

Permalink
fix testcase
Browse files Browse the repository at this point in the history
wenshao committed May 7, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 22ec8c5 commit 79f2364
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -141,7 +141,7 @@ public void test_date() {
d.value = new java.sql.Date(millis);
String str = JSON.toJSONString(d);
D d1 = JSON.parseObject(str, D.class);
assertEquals(d.value, d1.value);
assertEquals(d.value.getTime(), d1.value.getTime());

byte[] bytes = JSONB.toBytes(d);
D d2 = JSONB.parseObject(bytes, D.class);

0 comments on commit 79f2364

Please sign in to comment.