Skip to content

Commit

Permalink
Merge pull request #32 from spaceman03/assertions
Browse files Browse the repository at this point in the history
Add assertions
  • Loading branch information
spaceman03 authored Oct 18, 2023
2 parents ddcd241 + b51fb88 commit 715e2bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/seedu/nuscents/ui/Ui.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public static void showTransactionList(TransactionList transactionList) {
System.out.println(LINE);
return;
}
assert transactionList.getTransactions() != null;
System.out.println("Here are the transactions in your list:");
System.out.println(LINE);
System.out.printf("%-5s %-10s %-7s %-18s %-15s %-5s %n",
Expand Down

0 comments on commit 715e2bd

Please sign in to comment.