aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2010-06-02 16:13:04 +0000
committerNick Burch <nick@apache.org>2010-06-02 16:13:04 +0000
commit0d1692dbf270fe2aaa2b9c296385b3293d8739b9 (patch)
tree6b856be6a8f5cc38445d793b1a402873e2379a92 /src/testcases
parent8c85c8c3cf48a69cd6961f18f9b2eaf25c62f081 (diff)
downloadpoi-0d1692dbf270fe2aaa2b9c296385b3293d8739b9.tar.gz
poi-0d1692dbf270fe2aaa2b9c296385b3293d8739b9.zip
Fix bug #48494 - have EventBasedExcelExtractor make use of HSSFDataFormatter, so that numbers and dates come out closer to how Excel would render them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@950616 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases')
-rw-r--r--src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java b/src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java
index e0d6bfc994..bc264d097e 100644
--- a/src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java
+++ b/src/testcases/org/apache/poi/hssf/extractor/TestExcelExtractor.java
@@ -158,11 +158,11 @@ public final class TestExcelExtractor extends TestCase {
text = extractor.getText();
assertEquals(
- "1000.0\t1.0\tSUMIF(A1:A5,\">4000\",B1:B5)\n" +
- "2000.0\t2.0\n" +
- "3000.0\t3.0\n" +
- "4000.0\t4.0\n" +
- "5000.0\t5.0\n",
+ "1000\t1\tSUMIF(A1:A5,\">4000\",B1:B5)\n" +
+ "2000\t2\n" +
+ "3000\t3\n" +
+ "4000\t4\n" +
+ "5000\t5\n",
text
);
}