Skip to content

Commit 17eea81

Browse files
committed
Update tests.
1 parent 72cef02 commit 17eea81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

httprpc/src/test/java/org/httprpc/io/CSVDecoderTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
import org.junit.Test;
2828

2929
public class CSVDecoderTest extends AbstractTest {
30-
private String text = "\"a\",\"b\",\"c\",\"d\"\r\n"
31-
+ "\"A,B,\"\"C\"\" \",1,2.0,true\r\n"
32-
+ "\" D\rE\nF\r\n\",2,4.0,false\n";
33-
3430
@Test
3531
public void testRead() throws IOException {
32+
String text = "\"a\",\"b\",\"c\",\"d\"\r\n"
33+
+ "\"A,B,\"\"C\"\" \",1,2.0,true\r\n"
34+
+ "\" D\rÉ\nF\r\n\",2,4.0,false\n";
35+
3636
List<Map<String, ?>> expected = listOf(
3737
mapOf(
3838
entry("a", "A,B,\"C\" "),
@@ -41,7 +41,7 @@ public void testRead() throws IOException {
4141
entry("d", "true")
4242
),
4343
mapOf(
44-
entry("a", " D\rE\nF\r\n"),
44+
entry("a", " D\rÉ\nF\r\n"),
4545
entry("b", "2"),
4646
entry("c", "4.0"),
4747
entry("d", "false")

0 commit comments

Comments
 (0)