From cc66aa555d68eb33dfceb052e5dc37284e5080bd Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 24 Feb 2016 21:11:14 +0000 Subject: Use raw Strings instead of Warnings --- src/test/java/org/zwobble/mammoth/tests/MammothTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/java/org/zwobble/mammoth/tests/MammothTests.java') diff --git a/src/test/java/org/zwobble/mammoth/tests/MammothTests.java b/src/test/java/org/zwobble/mammoth/tests/MammothTests.java index e8287e8..bc997a2 100644 --- a/src/test/java/org/zwobble/mammoth/tests/MammothTests.java +++ b/src/test/java/org/zwobble/mammoth/tests/MammothTests.java @@ -97,7 +97,7 @@ public class MammothTests { allOf( hasProperty("value", equalTo("")), hasProperty("warnings", contains( - hasProperty("message", startsWith("could not open external image 'tiny-picture.png': path of document is unknown, but is required for relative URI")))))); + startsWith("could not open external image 'tiny-picture.png': path of document is unknown, but is required for relative URI"))))); } finally { tempDirectory.toFile().delete(); } @@ -114,7 +114,7 @@ public class MammothTests { allOf( hasProperty("value", equalTo("")), hasProperty("warnings", contains( - hasProperty("message", startsWith("could not open external image 'tiny-picture.png'")))))); + startsWith("could not open external image 'tiny-picture.png'"))))); } finally { tempDirectory.toFile().delete(); } -- cgit v1.2.3