Skip to content

Commit

Permalink
🚨 Fix linter warnings #97
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Fihlon <[email protected]>
  • Loading branch information
McPringle committed Apr 19, 2024
1 parent 5633cb4 commit 652381d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/java/swiss/fihlon/apus/agenda/LanguageTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void getLanguageCode() {
void getFlagEmoji() {
for (final Language language : Language.values()) {
assertNotNull(language.getFlagEmoji());
assertFalse(language.getFlagEmoji().trim().isEmpty());
assertFalse(language.getFlagEmoji().isBlank());
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/test/java/swiss/fihlon/apus/agenda/RoomStyleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ class RoomStyleTest {
void getCssStyle() {
for (final RoomStyle roomStyle : RoomStyle.values()) {
assertNotNull(roomStyle.getCssStyle());
assertEquals(roomStyle.equals(RoomStyle.NONE), roomStyle.getCssStyle().trim().isEmpty());
assertEquals(roomStyle.equals(RoomStyle.NONE), roomStyle.getCssStyle().isBlank());
}
}

@Test
void getTranslationKey() {
for (final RoomStyle roomStyle : RoomStyle.values()) {
assertNotNull(roomStyle.getTranslationKey());
assertEquals(roomStyle.equals(RoomStyle.NONE), roomStyle.getTranslationKey().trim().isEmpty());
assertEquals(roomStyle.equals(RoomStyle.NONE), roomStyle.getTranslationKey().isBlank());
}
}

Expand Down

0 comments on commit 652381d

Please sign in to comment.