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

Minor typo fix #876

Merged
merged 1 commit into from
May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions exercises/concept/troll-the-trolls/troll_the_trolls_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ TEST_CASE("Guests have second lowest priority", "[task_5]") {
}

TEST_CASE("Users have second highest priority", "[task_5]") {
// First player is a guest
// First player is a user
AccountStatus player1{AccountStatus::user};

AccountStatus player2{AccountStatus::guest};
Expand All @@ -312,7 +312,7 @@ TEST_CASE("Users have second highest priority", "[task_5]") {
player2 = AccountStatus::mod;
REQUIRE_FALSE(has_priority(player1, player2));

// Second player is a guest
// Second player is a user
player2 = AccountStatus::user;

player1 = AccountStatus::troll;
Expand All @@ -326,7 +326,7 @@ TEST_CASE("Users have second highest priority", "[task_5]") {
}

TEST_CASE("Moderators have highest priority", "[task_5]") {
// First player is a guest
// First player is a mod
AccountStatus player1{AccountStatus::mod};

AccountStatus player2{AccountStatus::guest};
Expand All @@ -341,7 +341,7 @@ TEST_CASE("Moderators have highest priority", "[task_5]") {
player2 = AccountStatus::mod;
REQUIRE_FALSE(has_priority(player1, player2));

// Second player is a guest
// Second player is a mod
player2 = AccountStatus::mod;

player1 = AccountStatus::troll;
Expand Down