From 5270a9e1294b624bc189ca77899f014fa1a471ec Mon Sep 17 00:00:00 2001 From: WesMorganCold <161843099+WesMorganCold@users.noreply.github.com> Date: Thu, 16 May 2024 15:22:18 -0400 Subject: [PATCH] tests: minor typo fix (#876) Corrected the word 'guest' in 2 places that should have been 'user' and 'mod' [no important files changed] --- .../concept/troll-the-trolls/troll_the_trolls_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exercises/concept/troll-the-trolls/troll_the_trolls_test.cpp b/exercises/concept/troll-the-trolls/troll_the_trolls_test.cpp index 3a6ec2c4..2d775c35 100644 --- a/exercises/concept/troll-the-trolls/troll_the_trolls_test.cpp +++ b/exercises/concept/troll-the-trolls/troll_the_trolls_test.cpp @@ -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}; @@ -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; @@ -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}; @@ -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;