Fix FileSystemWatcherTests.sourceFolderMustExist on Windows
This commit is contained in:
parent
2292cff1ea
commit
60d508cda2
|
@ -113,8 +113,8 @@ public class FileSystemWatcherTests {
|
|||
File folder = new File("does/not/exist");
|
||||
assertThat(folder.exists(), is(false));
|
||||
this.thrown.expect(IllegalArgumentException.class);
|
||||
this.thrown
|
||||
.expectMessage("Folder 'does/not/exist' must exist and must be a directory");
|
||||
this.thrown.expectMessage("Folder '" + folder
|
||||
+ "' must exist and must be a directory");
|
||||
this.watcher.addSourceFolder(folder);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue