Skip to content

Commit

Permalink
test serialization, too, when no canonical value given
Browse files Browse the repository at this point in the history
  • Loading branch information
reschke committed Nov 15, 2023
1 parent e32becd commit 9d9999f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ public void executeTest() {

if (p.canonical != null) {
assertEquals(p.canonical, item.serialize());
} else {
assertEquals("in absence of 'canonical', expect only one 'raw' value", 1, p.raw.size());
assertEquals(p.raw.get(0), item.serialize());
}
}
}
Expand Down

0 comments on commit 9d9999f

Please sign in to comment.