aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-02-20 14:42:36 +0000
committerMichael Williamson <mike@zwobble.org>2016-02-20 14:42:36 +0000
commit969f585f87b4da456a30c99e3e988152fdca96fe (patch)
treeddb10e2ac20a7f41d3c41f4f340ece2c7f261009 /src/test/java/org
parent9ac722cd96111afa9ec0522af4f6dbf95a62b7b4 (diff)
Simplify construction of HTML paths
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java b/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java
index 8e76619..771431f 100644
--- a/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java
+++ b/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java
@@ -56,7 +56,7 @@ public class DocumentConverterTests {
assertThat(
convertToHtml(
make(a(PARAGRAPH, with(STYLE, Optional.of(new Style("TipsParagraph", Optional.empty()))))),
- StyleMap.builder().mapParagraph("TipsParagraph", new HtmlPath(list(HtmlPath.element("p", map("class", "tip"))))).build()),
+ StyleMap.builder().mapParagraph("TipsParagraph", HtmlPath.element("p", map("class", "tip"))).build()),
deepEquals(list(Html.element("p", map("class", "tip")))));
}