-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tests #262
Update tests #262
Conversation
…into test # Conflicts: # src/test/java/seedu/address/model/recipe/RecipeTest.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -10,8 +10,9 @@ | |||
public class Instruction { | |||
|
|||
public static final String MESSAGE_CONSTRAINTS = | |||
"Instructions should only contain alphanumeric characters, punctuations and spaces, " | |||
+ "and it should not be blank. They are separated by full stop"; | |||
"1. Instruction cannot be empty \n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe can rephrase this line?
Instruction should not be empty?
import static seedu.address.logic.commands.CommandTestUtil.VALID_INGREDIENT_MARGARITAS; | ||
import static seedu.address.logic.commands.CommandTestUtil.VALID_INGREDIENT_SANDWICH; | ||
import static seedu.address.logic.commands.CommandTestUtil.VALID_NAME_MARGARITAS; | ||
import static seedu.address.logic.commands.CommandTestUtil.VALID_QUANTITY_MARGARITAS; | ||
import static seedu.address.logic.commands.CommandTestUtil.VALID_QUANTITY_SANDWICH; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel is more readable to use this instead of putting CommandTestUtil in front
@@ -1,7 +1,5 @@ | |||
package seedu.address.logic.parser.data; | |||
|
|||
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel use this is more readable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…into test # Conflicts: # src/main/java/seedu/address/logic/parser/data/ImageParser.java
# Conflicts: # src/main/java/seedu/address/logic/parser/data/ImageParser.java
No description provided.