Skip to content
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

Merged
merged 12 commits into from
Nov 7, 2020
Merged

Update tests #262

merged 12 commits into from
Nov 7, 2020

Conversation

jiaqi20
Copy link
Collaborator

@jiaqi20 jiaqi20 commented Nov 7, 2020

No description provided.

Copy link
Collaborator

@caitlinjee caitlinjee left a 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"
Copy link
Collaborator

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?

Comment on lines 5 to 9
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;
Copy link
Collaborator

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;
Copy link
Collaborator

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

Copy link
Collaborator

@oliviajohansen oliviajohansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

jiaqi20 and others added 4 commits November 7, 2020 22:02
…into test

# Conflicts:
#	src/main/java/seedu/address/logic/parser/data/ImageParser.java
# Conflicts:
#	src/main/java/seedu/address/logic/parser/data/ImageParser.java
@caitlinjee caitlinjee merged commit cc8c9ad into AY2021S1-CS2103T-W10-2:master Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants