From 06f44fda480492636f69b3f57f0b158c93eb2eb2 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 20 Feb 2016 15:15:39 +0000 Subject: Remove redundant test --- .../zwobble/mammoth/tests/DocumentConverterTests.java | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/test/java/org') diff --git a/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java b/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java index 338776e..295814a 100644 --- a/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/DocumentConverterTests.java @@ -53,7 +53,7 @@ public class DocumentConverterTests { } @Test - public void styleMappingsUsingStyleIdsCanBeUsedToMapParagraphs() { + public void paragraphStyleMappingsCanBeUsedToMapParagraphs() { assertThat( convertToHtml( make(a(PARAGRAPH, with(STYLE, Optional.of(new Style("TipsParagraph", Optional.empty()))))), @@ -66,20 +66,6 @@ public class DocumentConverterTests { deepEquals(list(Html.element("p", map("class", "tip"))))); } - @Test - public void styleMappingsUsingStyleNamesCanBeUsedToMapParagraphs() { - assertThat( - convertToHtml( - make(a(PARAGRAPH, with(STYLE, Optional.of(new Style("TipsParagraph", Optional.of("Tips Paragraph")))))), - StyleMap.builder() - .mapParagraph( - ParagraphMatcher.styleName("Tips Paragraph"), - HtmlPath.element("p", map("class", "tip"))) - .build()), - - deepEquals(list(Html.element("p", map("class", "tip"))))); - } - @Test public void boldRunsAreWrappedInStrongTags() { assertThat( -- cgit v1.2.3