summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2013-05-28 23:05:06 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2013-05-28 23:05:06 +0000
commitbe3cd1952c56ca0396da609133016e93e44c1078 (patch)
tree69323f4564bab6e818f5c1e77403fcebd60e9557
parent403148760bf3b31537834f580068189b9feaf1cd (diff)
downloadjackcess-be3cd1952c56ca0396da609133016e93e44c1078.tar.gz
jackcess-be3cd1952c56ca0396da609133016e93e44c1078.zip
fix unit test on windows
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@729 f203690c-595d-4dc9-a70b-905162fa7fd2
-rw-r--r--test/src/java/com/healthmarketscience/jackcess/ExportTest.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/ExportTest.java b/test/src/java/com/healthmarketscience/jackcess/ExportTest.java
index 0499277..7046b8b 100644
--- a/test/src/java/com/healthmarketscience/jackcess/ExportTest.java
+++ b/test/src/java/com/healthmarketscience/jackcess/ExportTest.java
@@ -85,8 +85,7 @@ public class ExportTest extends TestCase
.exportWriter(new BufferedWriter(out));
String expected =
- "some text||some more,13,13.25,\"61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78" + NL +
- "79 7A 61 62 63 64\",true," + testDate + NL +
+ "some text||some more,13,13.25,\"61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78\n79 7A 61 62 63 64\",true," + testDate + NL +
"\"crazy'data\"\"here\",-345,-3.45E-4,61 62 63 64 65 66 67,true," + NL +
"C:\\temp\\some_file.txt,25,0.0,,false," + NL;
@@ -102,8 +101,7 @@ public class ExportTest extends TestCase
expected =
"col1||col2||col3||col4||col5||col6" + NL +
- "'some text||some more'||13||13.25||'61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78" + NL +
- "79 7A 61 62 63 64'||true||" + testDate + NL +
+ "'some text||some more'||13||13.25||'61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78\n79 7A 61 62 63 64'||true||" + testDate + NL +
"'crazy''data\"here'||-345||-3.45E-4||61 62 63 64 65 66 67||true||" + NL +
"C:\\temp\\some_file.txt||25||0.0||||false||" + NL;
assertEquals(expected, out.toString());
@@ -126,8 +124,7 @@ public class ExportTest extends TestCase
.exportWriter(new BufferedWriter(out));
expected =
- "some text||some more,13,13.25,\"61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78" + NL +
- "79 7A 61 62 63 64\",true," + testDate + NL +
+ "some text||some more,13,13.25,\"61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78\n79 7A 61 62 63 64\",true," + testDate + NL +
"C:\\temp\\some_file.txt,25,0.0,,false," + NL;
assertEquals(expected, out.toString());