aboutsummaryrefslogtreecommitdiffstats
path: root/src/scratchpad
diff options
context:
space:
mode:
authorSergey Vladimirov <sergey@apache.org>2011-07-24 18:35:03 +0000
committerSergey Vladimirov <sergey@apache.org>2011-07-24 18:35:03 +0000
commit64e32435981423d2e00dee39745f2e847d66b101 (patch)
tree24a241db980daf995dad0bf9cea9e88bc3b97e42 /src/scratchpad
parentea79046f0d3349bbb9b18afd6061b179f4233377 (diff)
downloadpoi-64e32435981423d2e00dee39745f2e847d66b101.tar.gz
poi-64e32435981423d2e00dee39745f2e847d66b101.zip
arrays shall be compared using Arrays.toString()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150455 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad')
-rw-r--r--src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java
index 0dbe2cf2d7..84feac0994 100644
--- a/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java
+++ b/src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestProblems.java
@@ -19,6 +19,7 @@ package org.apache.poi.hwpf.usermodel;
import java.io.IOException;
import java.io.InputStream;
+import java.util.Arrays;
import java.util.List;
import junit.framework.AssertionFailedError;
@@ -468,7 +469,8 @@ public final class TestProblems extends HWPFTestCase {
try {
assertEquals(extractor1.getFooterText(), extractor2.getFooterText());
assertEquals(extractor1.getHeaderText(), extractor2.getHeaderText());
- assertEquals(extractor1.getParagraphText(), extractor2.getParagraphText());
+ assertEquals( Arrays.toString( extractor1.getParagraphText() ),
+ Arrays.toString( extractor2.getParagraphText() ) );
assertEquals(extractor1.getText(), extractor2.getText());