mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 07:49:03 +00:00
Polish
This commit is contained in:
+6
@@ -57,4 +57,10 @@ public class TriggerFileFilterTests {
|
||||
assertThat(new TriggerFileFilter("thefile.txt").accept(file)).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testName() throws Exception {
|
||||
File file = this.temp.newFile(".triggerfile").getAbsoluteFile();
|
||||
assertThat(new TriggerFileFilter(".triggerfile").accept(file)).isTrue();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user