From 8b98f1c2032b7b812015285a8d500762b2778bbc Mon Sep 17 00:00:00 2001 From: Josh Micich Date: Thu, 18 Jun 2009 21:10:45 +0000 Subject: [PATCH] Tweak to comments in TestExternalNameRecord (47384/786261) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@786284 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hssf/record/TestExternalNameRecord.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/testcases/org/apache/poi/hssf/record/TestExternalNameRecord.java b/src/testcases/org/apache/poi/hssf/record/TestExternalNameRecord.java index 8831f02be..e1c0f6c89 100644 --- a/src/testcases/org/apache/poi/hssf/record/TestExternalNameRecord.java +++ b/src/testcases/org/apache/poi/hssf/record/TestExternalNameRecord.java @@ -137,7 +137,7 @@ public final class TestExternalNameRecord extends TestCase { } public void testUnicodeName_bug47384() { - // 0x13A0 + // data taken from bugzilla 47384 att 23830 at offset 0x13A0 byte[] dataUN = HexRead.readFromString( "23 00 22 00" + "00 00 00 00 00 00 " + @@ -150,8 +150,6 @@ public final class TestExternalNameRecord extends TestCase { try { enr = new ExternalNameRecord(in); } catch (RecordFormatException e) { - // actual msg reported in bugzilla 47229 is different - // because that seems to be using a version from before svn r646666 if (e.getMessage().startsWith("Expected to find a ContinueRecord in order to read remaining 242 of 268 chars")) { throw new AssertionFailedError("Identified bug 47384 - failed to read ENR with unicode name"); }