AY2425S1-CS2103T-T15-1 / tp

Other
0 stars 5 forks source link

Add "rdelete" Command #124

Closed RobotWizzard closed 2 weeks ago

RobotWizzard commented 2 weeks ago

The rdelete command deletes a specified rental information from a client.

Fixes #105

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ Complexity Δ
src/main/java/seedu/address/logic/Messages.java 74.35% <ø> (ø) 5.00 <0.00> (ø)
...du/address/logic/commands/DeleteRentalCommand.java 100.00% <100.00%> (ø) 11.00 <11.00> (?)
.../seedu/address/logic/parser/AddressBookParser.java 79.16% <100.00%> (+0.90%) 12.00 <0.00> (+1.00)
...ain/java/seedu/address/logic/parser/CliSyntax.java 92.85% <100.00%> (+0.54%) 1.00 <0.00> (ø)
...ddress/logic/parser/DeleteRentalCommandParser.java 100.00% <100.00%> (ø) 4.00 <4.00> (?)
...ess/model/rentalinformation/RentalInformation.java 97.91% <ø> (ø) 21.00 <0.00> (ø)
gohsl99 commented 2 weeks ago

I think it is not correct to use "withRentalInformations", "withRentalInformation" is correct.