mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Update gtest_local_address.cpp
This commit is contained in:
parent
ee247aaa5b
commit
7ae047a721
@ -35,6 +35,6 @@ TEST(LocalAddress, Localhost)
|
|||||||
EXPECT_FALSE(DB::isLocalAddress(Poco::Net::IPAddress{"::"}));
|
EXPECT_FALSE(DB::isLocalAddress(Poco::Net::IPAddress{"::"}));
|
||||||
EXPECT_FALSE(DB::isLocalAddress(Poco::Net::IPAddress{"::2"}));
|
EXPECT_FALSE(DB::isLocalAddress(Poco::Net::IPAddress{"::2"}));
|
||||||
|
|
||||||
/// The the comment in the implementation of isLocalAddress.
|
/// See the comment in the implementation of isLocalAddress.
|
||||||
EXPECT_FALSE(DB::isLocalAddress(Poco::Net::IPAddress{"127.0.0.2"}));
|
EXPECT_FALSE(DB::isLocalAddress(Poco::Net::IPAddress{"127.0.0.2"}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user