When using the find job command to search by job's priority status, there is no error message when i provide an invalid priority type search term, for e.g find job p/VERY HIGH despite the application stating that priority can only take on 3 values, high, low or medium when adding a job.
Expected
Application indicates to user that invalid search term has been provided.
Actual
The application executes the search anyway and an empty list is always returned.
Reproduction
Type in find job p/VERY HIGH
Search executes even though invalid priority level is given and always returns an empty list
When using the find job command to search by job's priority status, there is no error message when i provide an invalid priority type search term, for e.g
find job p/VERY HIGH
despite the application stating that priority can only take on 3 values, high, low or medium when adding a job.Expected
Application indicates to user that invalid search term has been provided.
Actual
The application executes the search anyway and an empty list is always returned.
Reproduction
find job p/VERY HIGH
[original: nus-cs2103-AY2021S1/pe-interim#3971]