Skip to content

Commit

Permalink
Adding toJson test for TemplateTests::testStrings()
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Palis <[email protected]>
  • Loading branch information
joshpalis committed Oct 24, 2023
1 parent dace266 commit 34b071b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public void testExceptions() throws IOException {

public void testStrings() throws IOException {
Template t = Template.parse(expectedTemplate);
assertTrue(t.toJson().contains("a test template"));
assertTrue(t.toYaml().contains("a test template"));
assertTrue(t.toString().contains("a test template"));
}
Expand Down

0 comments on commit 34b071b

Please sign in to comment.