Skip to content

Commit

Permalink
[FLINK-6987] Fix TextInputFormatTest for paths with spaces
Browse files Browse the repository at this point in the history
This closes #4168.
  • Loading branch information
zhangminglei authored and zentol committed Jul 1, 2017
1 parent bb9505d commit c84a828
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void testNestedFileRead() {
}
File parentDir = new File("tmp");

TextInputFormat inputFormat = new TextInputFormat(new Path(parentDir.toURI().toString()));
TextInputFormat inputFormat = new TextInputFormat(new Path(parentDir.toURI()));
inputFormat.setNestedFileEnumeration(true);
inputFormat.setNumLineSamples(10);

Expand Down

0 comments on commit c84a828

Please sign in to comment.