Arnaxx54 / pe

0 stars 0 forks source link

Add command accepts emails without ending domain '.com' #7

Closed Arnaxx54 closed 4 days ago

Arnaxx54 commented 4 days ago

image.png

I entered the command add n/John Doe p/88990536 e/johnd@example a/John street, block 123, #01-01 pc/666234.

Actual output: It accepted the command and added the customer to the list

Expected output: It should mention that johnd@example is an invalid email with an ending domain.