-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #148 +/- ##
============================================
+ Coverage 82.75% 82.78% +0.02%
- Complexity 754 755 +1
============================================
Files 99 99
Lines 2308 2312 +4
Branches 258 259 +1
============================================
+ Hits 1910 1914 +4
Misses 333 333
Partials 65 65
☔ View full report in Codecov by Sentry. |
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.
Some small changes then let's merge this
@Test | ||
public void parseCommand_allAsciiInputAllowed() { | ||
AddressBookParser parser = new AddressBookParser(); | ||
for (char c = '!'; c <= '~'; c++) { |
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.
Shouldn't this start with space?
for (char c = '!'; c <= '~'; c++) { | |
for (char c = ' '; c <= '~'; c++) { |
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.
Space gets trimmed and gets a different error. Starting with '!' is correct.
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.
Changed test case in #f7e1736
src/main/java/seedu/address/logic/parser/AddressBookParser.java
Outdated
Show resolved
Hide resolved
Co-authored-by: lordidiot <0xlordidiot@gmail.com>
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! thanks for the quick changes and writing a neater test case for this!
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.
Thank you for working on this! This should help us handle an entire class of issues 😲
This fixes #147