aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/zwobble
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-04-30 16:25:00 +0100
committerMichael Williamson <mike@zwobble.org>2016-04-30 16:25:00 +0100
commit4b9118b4c0a913e0788b0937998d3ee091c8a12d (patch)
tree04b7419bc25b8b8256fb770fc54768622c131765 /src/test/java/org/zwobble
parent2cbb4869f34563ea686a3275ba7b2afce99efa14 (diff)
Include character location in parse failures
Diffstat (limited to 'src/test/java/org/zwobble')
-rw-r--r--src/test/java/org/zwobble/mammoth/tests/MammothTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/MammothTests.java b/src/test/java/org/zwobble/mammoth/tests/MammothTests.java
index 4f4c9fd..1f50fc5 100644
--- a/src/test/java/org/zwobble/mammoth/tests/MammothTests.java
+++ b/src/test/java/org/zwobble/mammoth/tests/MammothTests.java
@@ -198,7 +198,7 @@ public class MammothTests {
() -> new DocumentConverter().addStyleMap("p =>\np[style-name=] =>"));
assertThat(
exception.getMessage(),
- equalTo("expected token of type STRING but was of type CLOSE_SQUARE_BRACKET"));
+ equalTo("error reading style map at character 14: expected token of type STRING but was of type CLOSE_SQUARE_BRACKET"));
}
@Test