From 3e64739503b5d328dfd8e67eaecb52f16e71dbe7 Mon Sep 17 00:00:00 2001 From: Philip Whitehouse Date: Mon, 22 Jan 2018 22:42:47 +0000 Subject: [PATCH] Fixup tests --- .../com/fsck/k9/message/html/HtmlSanitizerTest.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/k9mail/src/test/java/com/fsck/k9/message/html/HtmlSanitizerTest.java b/k9mail/src/test/java/com/fsck/k9/message/html/HtmlSanitizerTest.java index 71efe874f..97fad75b7 100644 --- a/k9mail/src/test/java/com/fsck/k9/message/html/HtmlSanitizerTest.java +++ b/k9mail/src/test/java/com/fsck/k9/message/html/HtmlSanitizerTest.java @@ -180,9 +180,9 @@ public class HtmlSanitizerTest { @Test public void shouldKeepMapAreaTags() { String html = "\n" + - " \"Sun\"\n" + - " \"Mercury\"\n" + - " \"Venus\"\n" + + " \"Sun\"\n" + + " \"Mercury\"\n" + + " \"Venus\"\n" + ""; Document result = htmlSanitizer.sanitize(html); @@ -192,7 +192,9 @@ public class HtmlSanitizerTest { @Test public void shouldKeepImgUsemap() { - String html = ""; + String html = "" + + "" + + ""; Document result = htmlSanitizer.sanitize(html);