Skip to content

Commit

Permalink
Merge pull request #1134 from daniloegea/net_test_fix
Browse files Browse the repository at this point in the history
tests/net_test: don't try to resolve external names
  • Loading branch information
kiplingw committed Jun 23, 2023
2 parents 68906fa + 50e39e1 commit e884d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/net_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ TEST(net_test, address_creation)
ASSERT_EQ(address14.family(), AF_INET);
ASSERT_EQ(address14.port(), 80);

Address address15("www.example.com");
ASSERT_EQ(address15.host(), "93.184.216.34");
Address address15("localhost");
ASSERT_EQ(address15.host(), "127.0.0.1");
ASSERT_EQ(address15.family(), AF_INET);
ASSERT_EQ(address15.port(), 80);

Expand Down

0 comments on commit e884d6d

Please sign in to comment.