Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wn committed Oct 17, 2018
1 parent 33c95b4 commit 1dbc908
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/test/java/seedu/address/ui/testutil/GuiTestAssert.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,10 @@ private static void assertTagsEqual(Loan expectedLoan, LoanCardHandle actualCard
List<String> expectedTags = expectedLoan.getTags().stream()
.map(tag -> tag.value).collect(Collectors.toList());
assertEquals(expectedTags, actualCard.getTags());
expectedTags.forEach(tag ->
assertEquals(
Arrays.asList(LABEL_DEFAULT_STYLE, getTagColorStyleFor(tag)),
actualCard.getTagStyleClasses(tag)
));
expectedTags.forEach(tag -> assertEquals(
Arrays.asList(LABEL_DEFAULT_STYLE, getTagColorStyleFor(tag)),
actualCard.getTagStyleClasses(tag)
));
}

/**
Expand Down

0 comments on commit 1dbc908

Please sign in to comment.