Skip to content

Commit 1de1c08

Browse files
author
Alejandro Schenzle
committed
Fixing a failing test case. Was expecting comma but the delimiter is hardcoded as \t in the transformer class
1 parent bcfcfde commit 1de1c08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/mule/module/filepack/DataPackDelimitedOutputTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void testDelimitedOutputWithTransformers() throws Exception
4242
assertNull(result.getExceptionPayload());
4343
assertFalse(result.getPayload() instanceof NullPayload);
4444

45-
assertEquals(result.getPayload(), "transformdata\n");
45+
assertEquals("transformdata\n", result.getPayload());
4646
}
4747

4848
public void testDelimitedOutputWithDefaultValues() throws Exception
@@ -54,6 +54,6 @@ public void testDelimitedOutputWithDefaultValues() throws Exception
5454
assertNull(result.getExceptionPayload());
5555
assertFalse(result.getPayload() instanceof NullPayload);
5656

57-
assertEquals(result.getPayload(), "data,data\n");
57+
assertEquals("data\tdata\n", result.getPayload());
5858
}
5959
}

0 commit comments

Comments
 (0)