When I add extra white spaces between the o/ prefix and the index, the program still registers it as a success. It seems that white spaces are not handled properly.
How to recreate the bug:
1)Input the command "addCustomerOrder n/b p/98765432 o/ 1[whitespace][whitespace][whitespace] 1" (Assuming that there is such a contact in the contact list already)
2)The program runs it successfully as adding two strawberry waffle orders to that customer.
When I add extra white spaces between the o/ prefix and the index, the program still registers it as a success. It seems that white spaces are not handled properly.
How to recreate the bug: 1)Input the command "addCustomerOrder n/b p/98765432 o/ 1[whitespace][whitespace][whitespace] 1" (Assuming that there is such a contact in the contact list already) 2)The program runs it successfully as adding two strawberry waffle orders to that customer.