Skip to content

Commit

Permalink
Update SportTest.cpp
Browse files Browse the repository at this point in the history
Change sport() to sportName() and "Sport" to lowercase "sport" in sport namespace
  • Loading branch information
00thirdeye00 authored Jun 24, 2024
1 parent 7fa9fc3 commit 8447848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/modules/sport/SportTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

using namespace ::testing;
using namespace faker;
using namespace faker::Sport;
using namespace faker::sport;

class SportTest : public Test
{
Expand All @@ -18,7 +18,7 @@ class SportTest : public Test

TEST_F(SportTest, shouldGenerateSport)
{
const auto generatedSport = sport();
const auto generatedSport = sportName();

ASSERT_TRUE(std::ranges::any_of(sportNames, [generatedSport](const std::string_view& sport)
{ return sport == generatedSport; }));
Expand Down

0 comments on commit 8447848

Please sign in to comment.