mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Merge branch '2.4.x'
See gh-25985
This commit is contained in:
commit
048463742d
@ -284,8 +284,7 @@ class FileSystemWatcherTests {
|
||||
this.watcher.addSourceDirectory(directory);
|
||||
this.watcher.start();
|
||||
this.watcher.stopAfter(1);
|
||||
ChangedFiles changedFiles = getSingleChangedFiles();
|
||||
Set<ChangedFile> actual = changedFiles.getFiles();
|
||||
Set<ChangedFile> actual = getAllFileChanges();
|
||||
Set<ChangedFile> expected = new HashSet<>();
|
||||
expected.add(new ChangedFile(directory, recreate, Type.ADD));
|
||||
assertThat(actual).isEqualTo(expected);
|
||||
|
Loading…
Reference in New Issue
Block a user