Skip to content

Commit 3b3d332

Browse files
authored
Call mkdirs() in file-split-ftp sample
Signed-off-by: Artem Bilan <[email protected]>
1 parent f0d39d4 commit 3b3d332

File tree

1 file changed

+1
-1
lines changed
  • applications/file-split-ftp/src/test/java/org/springframework/integration/samples/filesplit

1 file changed

+1
-1
lines changed

applications/file-split-ftp/src/test/java/org/springframework/integration/samples/filesplit/ApplicationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public void testFailure() throws Exception {
132132
*/
133133
private MimeMessage runTest(boolean fail) throws Exception {
134134
File in = new File("/tmp/in/", "foo");
135-
in.createNewFile();
135+
in.mkdirs();
136136
FileOutputStream fos = new FileOutputStream(in);
137137
fos.write("*002,foo,bar\n*006,baz,qux\n*009,fiz,buz\n".getBytes());
138138
fos.close();

0 commit comments

Comments
 (0)