Skip to content

Commit

Permalink
Updated outside test
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219-msft committed Apr 2, 2014
1 parent 6cdb5cc commit 9d24a46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Release/tests/Functional/http/client/outside_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ TEST_FIXTURE(uri_address, reading_google_stream,
utility::string_t path = m_uri.query();
http_response response = simpleclient.request(::http::methods::GET).get();

uint8_t chars[81];
uint8_t chars[71];
memset(chars, 0, sizeof(chars));

streams::rawptr_buffer<uint8_t> temp(chars, sizeof(chars));

VERIFY_ARE_EQUAL(response.body().read(temp, 80).get(), 80);
VERIFY_ARE_EQUAL(strcmp((const char *)chars, "<!doctype html><html itemscope=\"\" itemtype=\"http://schema.org/WebPage\"><head><me"), 0);
VERIFY_ARE_EQUAL(response.body().read(temp, 70).get(), 70);
VERIFY_ARE_EQUAL(strcmp((const char *)chars, "<!doctype html><html itemscope=\"\" itemtype=\"http://schema.org/WebPage\""), 0);
}

TEST_FIXTURE(uri_address, outside_ssl_json,
Expand Down

0 comments on commit 9d24a46

Please sign in to comment.