]> source.dussan.org Git - poi.git/commitdiff
Tweak to comments in TestExternalNameRecord (47384/786261)
authorJosh Micich <josh@apache.org>
Thu, 18 Jun 2009 21:10:45 +0000 (21:10 +0000)
committerJosh Micich <josh@apache.org>
Thu, 18 Jun 2009 21:10:45 +0000 (21:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@786284 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hssf/record/TestExternalNameRecord.java

index 8831f02bedc9c6350f1d1d486591f27901934fdf..e1c0f6c899ca1aa501572359341e839bc2a30383 100644 (file)
@@ -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");
                        }