Skip to content

Commit

Permalink
tests: minor typo fix (#876)
Browse files Browse the repository at this point in the history
Corrected the word 'guest' in 2 places that should have been 'user' and 'mod'
[no important files changed]
  • Loading branch information
WesMorganCold authored May 16, 2024
1 parent 5f2e503 commit 5270a9e
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 5270a9e

Please sign in to comment.