aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/zwobble/mammoth/tests/MammothTests.java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-02-24 21:11:14 +0000
committerMichael Williamson <mike@zwobble.org>2016-02-24 21:11:14 +0000
commitcc66aa555d68eb33dfceb052e5dc37284e5080bd (patch)
tree8b5aa764cefaa4ff8f560b9d18080cd76b8cd5b0 /src/test/java/org/zwobble/mammoth/tests/MammothTests.java
parentd1783e7eaf147217d0ffc5c91f007bc9870cd879 (diff)
Use raw Strings instead of Warnings
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/MammothTests.java')
-rw-r--r--src/test/java/org/zwobble/mammoth/tests/MammothTests.java4
1 files changed, 2 insertions, 2 deletions
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();
}