Skip to content

Commit

Permalink
test: check port 0 in netbase_tests.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Jan 29, 2025
1 parent c5eb184 commit 8c30f73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/netbase_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ BOOST_AUTO_TEST_CASE(isbadport)
BOOST_CHECK(IsBadPort(18332));
BOOST_CHECK(IsBadPort(18333));

BOOST_CHECK(!IsBadPort(0));
BOOST_CHECK(!IsBadPort(9998));
BOOST_CHECK(!IsBadPort(9999));
BOOST_CHECK(!IsBadPort(26656));
Expand Down

0 comments on commit 8c30f73

Please sign in to comment.