Skip to content

Commit

Permalink
a reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 8, 2024
1 parent f45f668 commit 2fd1953
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ public void sendOutSeniorDiscounts(MailServer mailServer, Loader<List<Customer>>
@Test
public void senior_customer_list_includes_only_those_over_age_65()
{
Loader<List<Customer>> mailingList = () -> List.of(new Customer("Bob"), new Customer("Mary"), new Customer("Tom"));
Loader<List<Customer>> mailingList = () -> List.of(new Customer("Bob"), new Customer("Mary"),
new Customer("Tom"));
MailServer mailServer = initializeMailServer();
sendOutSeniorDiscounts(mailServer, mailingList);
Approvals.verifyAll("", mailServer.getRecipients());
Expand All @@ -142,7 +143,6 @@ private DataBase initializeDatabase()
{
return null;
}

}
private String generateDiscountMessage(Customer customer, Discount seniorDiscount)
{
Expand Down

0 comments on commit 2fd1953

Please sign in to comment.