Skip to content

Commit

Permalink
Improved xml test
Browse files Browse the repository at this point in the history
  • Loading branch information
javadev authored Jul 31, 2023
1 parent c3393ce commit cf4324a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/java/com/github/underscore/LodashTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,10 @@ void formatXml() {
+ "<element>2</element></root>"));
assertEquals(
"<a>\n <b></b>\n <b></b>\n</a>", U.formatXml("<a>\n <b></b>\n <b></b>\n</a>"));
assertEquals(
"<a>\n <b></b>\n <b></b>\n</a>",
U.formatXml(
"<a>\n <b></b>\n <b></b>\n</a>", Xml.XmlStringBuilder.Step.THREE_SPACES));
assertEquals(
"<a>\n <b></b>\n <b></b>\n</a>",
U.formatXml(
Expand Down

0 comments on commit cf4324a

Please sign in to comment.