Added another client parse host_port test

This commit is contained in:
eidheim 2021-04-09 19:34:26 +02:00
commit c97be4caab

View file

@ -154,6 +154,12 @@ int main() {
ASSERT(clientTest.port == 8080);
}
{
ClientTest clientTest("test.org:test");
ASSERT(clientTest.host == "test.org");
ASSERT(clientTest.port == 80);
}
{
ClientTest clientTest("[::1]");
ASSERT(clientTest.host == "::1");