J-wang-CSMA / pe

0 stars 0 forks source link

When using the add command, multiple spaces are allowed between words in a name #5

Open J-wang-CSMA opened 7 months ago

J-wang-CSMA commented 7 months ago

How to reproduce

  1. Take the command provided in the user guide: add id/ 12360 n/ John Chan p/ John f/ Curry chicken c/ Stable c/ Has 2 sons visit him regularly h/ Singing karaoke t/Diabetes

  2. Add an extra whitespace in the name such that instead of John Chan, we have "John Chan".

  3. Press enter

Expected

For the final name to still reflect "John Chan" without the additional white space.

Actual

The final name reflected is "John Chan", which matches the input, but this may prove to be unintuitive for the user.

image.png

nus-pe-bot commented 6 months ago

Your response not required for this bug as the team has accepted the bug as it is.