nus-cs2113-AY2223S1 / pe-dev-response

0 stars 0 forks source link

flight add does not trim input after last parameter #882

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

image.png

Corresponding instr in UG:

image.png

As seen in the above picture I inputted the exact same command given in the UG only that I added a space at the back. This was enough to make cli to read it as a wrong format. This is inconsistent with the rest of the program as I notice like with add passenger for e.g have spaces at the back of the last parameter which is seat number does not affect the seat number the cli reads.


[original: nus-cs2113-AY2223S1/pe-interim#922] [original labels: severity.Medium type.FunctionalityBug]

Franky4566 commented 1 year ago

Team's Response

Tester added in spaces but that is equivalent to incorrect formatting as stated in the UG. Format for check in should be exactly 2 digits specifying row followed by a dash and 2 more digits specfiying door.

Duplicate status (if any):

--