Merge pull request #135 from md678685/patch-2
Fix glaring condiment omission
This commit is contained in:
commit
9c3b63255d
|
@ -40,7 +40,7 @@ public class Potato implements Tuber {
|
|||
*/
|
||||
public void prepare() throws NotDeliciousException {
|
||||
this.addCondiments("sour cream", "chives", "butter", "crumbled bacon", "grated cheese", "ketchup", "pepper",
|
||||
"salt", "tabasco", "tomatoes");
|
||||
"salt", "tabasco", "tomatoes", "onion");
|
||||
this.listCondiments();
|
||||
if (!this.isDelicious()) throw new NotDeliciousException(NotDeliciousReason.UNDERCOOKED);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue