CS2103AUG2017-T14-B1 / main

Address Book sample application (Level 4)
https://nus-cs2103-AY1718S1.github.io/addressbook-level4
MIT License
0 stars 3 forks source link

Permit empty fields in "add" and "edit" #20

Closed willxujun closed 7 years ago

willxujun commented 7 years ago

modified commands: add: now takes empty values in email and address fields edit: when prefix is specified to optional fields but without value, e.g. "edit x e/ ", the corresponding optional field will be cleared of its value.

Tests are updated to remove empty address as invalid address. 1 test added for the behaviour of adding empty address. More tests pending on edit.