From 33a18267e1d3908aceb9a1523d7f4a28fcd428bd Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Wed, 7 May 2008 09:41:03 +0000 Subject: [PATCH] Update a test to match the new warning on short files git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@654056 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/poifs/storage/TestRawDataBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testcases/org/apache/poi/poifs/storage/TestRawDataBlock.java b/src/testcases/org/apache/poi/poifs/storage/TestRawDataBlock.java index 73ddcad54..a4cdb734a 100644 --- a/src/testcases/org/apache/poi/poifs/storage/TestRawDataBlock.java +++ b/src/testcases/org/apache/poi/poifs/storage/TestRawDataBlock.java @@ -152,7 +152,7 @@ public class TestRawDataBlock } assertEquals( - "7 - Unable to read entire block; "+bts+" read before EOF; expected 512 bytes. Your document has probably been truncated!", + "7 - Unable to read entire block; "+bts+" read before EOF; expected 512 bytes. Your document was either written by software that ignores the spec, or has been truncated!", (String)(logger.logged.get(0)) ); } else {