nus-cs2113-AY2324S1 / pe-dev-response

0 stars 0 forks source link

Program allows duplicate questions with spaces in between #501

Open nus-pe-bot opened 11 months ago

nus-pe-bot commented 11 months ago

Description: The user is able to key in dupliocate questions by varying the spaces between words in the add question platform.

Steps to reproduce:

  1. Add questions:
short What is  0.56    n fraction?/1\slash2/fraction/Hard
short What is  0.56       n fraction?/1\slash2/fraction/Hard
short What is  0.56             n fraction?/1\slash2/fraction/Hard

Expected: Program should reject the second and third command.

Actual: Program accepts the second and third commands.

Screenshots:

image.png


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

lisizhuang-0121 commented 11 months ago

Team's Response

Duplicate status (if any):

--