Skip to content

Добавлено первое задание проекта#1258

Open
MaryTonks5 wants to merge 2 commits intoyandex-praktikum:mainfrom
MaryTonks5:develop1
Open

Добавлено первое задание проекта#1258
MaryTonks5 wants to merge 2 commits intoyandex-praktikum:mainfrom
MaryTonks5:develop1

Conversation

@MaryTonks5
Copy link

No description provided.

Ingredient firstIngredient = burger.ingredients.get(0);
Ingredient secondIngredient = burger.ingredients.get(1);

assertEquals("Первый ингредиент должен быть hotSauce", hotSauce, firstIngredient);

Choose a reason for hiding this comment

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

⛔️Нужно исправить. Для юнит-тестов придерживаемся подхода: один тест, значит одна проверка. Если очень хочется несколько проверок -- тогда используем softAssertions. Поправь, пожалуйста, во всем коде

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.

2 participants