Skip to content

Commit 5270a9e

Browse files
tests: minor typo fix (#876)
Corrected the word 'guest' in 2 places that should have been 'user' and 'mod' [no important files changed]
1 parent 5f2e503 commit 5270a9e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exercises/concept/troll-the-trolls/troll_the_trolls_test.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ TEST_CASE("Guests have second lowest priority", "[task_5]") {
297297
}
298298

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

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

315-
// Second player is a guest
315+
// Second player is a user
316316
player2 = AccountStatus::user;
317317

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

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

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

344-
// Second player is a guest
344+
// Second player is a mod
345345
player2 = AccountStatus::mod;
346346

347347
player1 = AccountStatus::troll;

0 commit comments

Comments
 (0)