-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improve code coverage #228
Improve code coverage #228
Conversation
Codecov Report
@@ Coverage Diff @@
## master #228 +/- ##
============================================
+ Coverage 79.07% 79.59% +0.51%
- Complexity 787 791 +4
============================================
Files 112 112
Lines 2538 2538
Branches 271 271
============================================
+ Hits 2007 2020 +13
+ Misses 439 430 -9
+ Partials 92 88 -4
📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Good job on adding test cases to ensure you cannot add patient fields for doctors for the EditCommand!
@@ -135,7 +139,7 @@ private Person getEditedPerson(Model model, Person personToEdit) throws CommandE | |||
editedPerson = createEditedDoctor(doctorToEdit, editPersonDescriptor); | |||
} | |||
if (!personToEdit.isSamePerson(editedPerson) && model.hasPerson(editedPerson)) { | |||
logger.warning("Edited Person and orignal person are the same"); | |||
logger.warning("Edited Person and original person are the same"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
siuuu
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
80b33bb
into
AY2324S1-CS2103T-T09-3:master
No description provided.