Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MyList.java, Storage.java #2

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Update MyList.java, Storage.java #2

merged 1 commit into from
Feb 20, 2024

Conversation

Hwww23
Copy link
Owner

@Hwww23 Hwww23 commented Feb 20, 2024

Added assertions to addTask method in MyList.java and save method in Storage.java.

  • Ensure that task added into the list should not be null or have an empty description.
  • Ensure that the list being saved into duke.txt is not null.

Added assertions to addTask method in MyList.java and save
method in Storage.java.

- Ensure that task added into the list should not be null or have
an empty description.
- Ensure that the list being saved into duke.txt is not null.
@Hwww23 Hwww23 merged commit a981cbc into master Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant