fix code smell

This commit is contained in:
Konstantin Schaper
2020-08-12 13:30:43 +02:00
parent 80e18b47b7
commit b100ec0277

View File

@@ -173,8 +173,9 @@ class PublicKeyStoreTest {
void shouldReturnEmptyListIfNoKeysAvailable() {
List<RawGpgKey> keys = keyStore.findByUsername("zaphod");
assertThat(keys).isEmpty();
assertThat(keys).isInstanceOf(List.class);
assertThat(keys)
.isInstanceOf(List.class)
.isEmpty();
}
@Test