Merge pull request #135 from md678685/patch-2

Fix glaring condiment omission
This commit is contained in:
Trent Hensler 2018-10-09 10:18:23 -07:00 committed by GitHub
commit 9c3b63255d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class Potato implements Tuber {
*/ */
public void prepare() throws NotDeliciousException { public void prepare() throws NotDeliciousException {
this.addCondiments("sour cream", "chives", "butter", "crumbled bacon", "grated cheese", "ketchup", "pepper", this.addCondiments("sour cream", "chives", "butter", "crumbled bacon", "grated cheese", "ketchup", "pepper",
"salt", "tabasco", "tomatoes"); "salt", "tabasco", "tomatoes", "onion");
this.listCondiments(); this.listCondiments();
if (!this.isDelicious()) throw new NotDeliciousException(NotDeliciousReason.UNDERCOOKED); if (!this.isDelicious()) throw new NotDeliciousException(NotDeliciousReason.UNDERCOOKED);
} }