mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Use AssertJ's isEmpty() instead of hasSize(0)
Achieved via global search-and-replace.
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ class DynamicJavaFileManagerTests {
|
||||
void listWithoutClassKindDoesNotReturnClasses() throws IOException {
|
||||
Iterable<JavaFileObject> listed = this.fileManager.list(
|
||||
this.location, "com.example", EnumSet.of(Kind.SOURCE), true);
|
||||
assertThat(listed).hasSize(0);
|
||||
assertThat(listed).isEmpty();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user