Skip to content

Commit

Permalink
clean up comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall committed Mar 8, 2024
1 parent a5049fc commit 49a25be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ public void testValidLibraryAsJson() {
JsonArray defs = library.getJsonObject("statements").getJsonArray("def");
assertEquals(2, defs.size());
assertFalse(defs.getJsonObject(1).containsKey("resultTypeName"));
//assertFalse(defs.getJsonObject(1).containsKey("annotation"));
// update: it has the annotation property but it's empty. not sure if that's intentional
// assertFalse(defs.getJsonObject(1).containsKey("annotation"));
// As of translator 3.7.1 the annotation property is present but empty
assertTrue(defs.getJsonObject(1).containsKey("annotation"));
JsonArray subannotations = defs.getJsonObject(1).getJsonArray("annotation");
assertTrue(subannotations.isEmpty());
Expand Down

0 comments on commit 49a25be

Please sign in to comment.