diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-02-14 19:17:40 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-02-14 19:17:40 +0000 |
| commit | 1632923e841ca8a3368345c763cdaa0fe2aa363b (patch) | |
| tree | 454ff2745bb74f1c3f1d8a494269a1fa810953b0 /src/test/java/org | |
| parent | b67455341838b1a05cd5d4c42824f8ed14d94cdc (diff) | |
Use collapsible elements for hyperlinks
Diffstat (limited to 'src/test/java/org')
| -rw-r--r-- | src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java b/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java index d1ae6a3..665258b 100644 --- a/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java @@ -124,14 +124,14 @@ public class DocumentConverterTests { public void hyperlinkWithHrefIsConvertedToAnchorTag() { assertThat( convertToHtml(Hyperlink.href("http://example.com", list(new Text("Hello")))), - deepEquals(list(Html.element("a", map("href", "http://example.com"), list(Html.text("Hello")))))); + deepEquals(list(Html.collapsibleElement("a", map("href", "http://example.com"), list(Html.text("Hello")))))); } @Test public void hyperlinkWithInternalAnchorReferenceIsConvertedToAnchorTag() { assertThat( convertToHtml(Hyperlink.anchor("start", list(new Text("Hello")))), - deepEquals(list(Html.element("a", map("href", "#doc-42-start"), list(Html.text("Hello")))))); + deepEquals(list(Html.collapsibleElement("a", map("href", "#doc-42-start"), list(Html.text("Hello")))))); } @Test |
