Polish
See gh-13776
This commit is contained in:
committed by
Stephane Nicoll
parent
f325ee9406
commit
068e22d60b
@@ -149,10 +149,11 @@ public class FileSystemWatcherTests {
|
||||
this.watcher.addSourceFolder(folder);
|
||||
this.watcher.start();
|
||||
folder.mkdirs();
|
||||
touch(new File(folder, "text.txt"));
|
||||
File file = touch(new File(folder, "text.txt"));
|
||||
this.watcher.stopAfter(1);
|
||||
ChangedFiles changedFiles = getSingleChangedFiles();
|
||||
System.out.println(changedFiles);
|
||||
ChangedFile expected = new ChangedFile(folder, file, Type.ADD);
|
||||
assertThat(changedFiles.getFiles()).contains(expected);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user