Skip to content

Commit

Permalink
Update tests/basic_tests.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig authored Jan 12, 2025
1 parent a04a2bd commit 2a96a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/basic_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ TYPED_TEST(basic_tests, set_invalid_port) {
ASSERT_TRUE(url);
ASSERT_FALSE(url->set_port("invalid80"));
ASSERT_EQ(url->get_port(), "");
ASSERT_FALSE(url->set_port("80valid"));
ASSERT_TRUE(url->set_port("80valid"));
ASSERT_TRUE(url->is_valid);
ASSERT_EQ(url->get_port(), "80");
ASSERT_TRUE(url->is_valid);
Expand Down

0 comments on commit 2a96a14

Please sign in to comment.