fixed http_connection test

This commit is contained in:
Arvid Norberg 2008-03-22 20:53:18 +00:00
parent 1fba3afdae
commit 8b6be335d5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}