fixed http_connection test
This commit is contained in:
parent
1fba3afdae
commit
8b6be335d5
|
@ -87,7 +87,7 @@ void run_test(std::string const& url, int size, int status, int connected
|
|||
TEST_CHECK(connect_handler_called == connected);
|
||||
TEST_CHECK(handler_called == 1);
|
||||
TEST_CHECK(data_size == size || size == -1);
|
||||
TEST_CHECK(!ec || error_code == ec);
|
||||
TEST_CHECK(!ec || error_code == *ec);
|
||||
TEST_CHECK(http_status == status || status == -1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue