CS2103-AY1819S2-T12-3 / main

MediTabs: Medicine Stock Taking Application
https://cs2103-ay1819s2-t12-3.github.io/main/
MIT License
2 stars 4 forks source link

Edit command should throw exception #173

Closed nus-se-bot closed 5 years ago

nus-se-bot commented 5 years ago

Describe the bug Typing edit 10 n/hi n/hihi for example works, but it should throw an exception that only one '/n' should work

To Reproduce Steps to reproduce the behavior:

  1. See screenshot

Expected behavior Exception thrown.

Screenshots Untitled

Additional context nil


Reported by: @reinsheer Severity: Low

[original: nus-cs2103-AY1819S2/pe-dry-run#775]

jtankw3 commented 5 years ago

Hi. This is the expected behaviour from AB4. Only the last valid input will be taken. Added to user guide for clarity.