commit | fb4ad7d5e8c5946fc475f3ee289b38287f015326 | [log] [tgz] |
---|---|---|
author | Andrew de los Reyes <adlr@chromium.org> | Mon Jul 19 10:43:46 2010 -0700 |
committer | Andrew de los Reyes <adlr@chromium.org> | Mon Jul 19 10:43:46 2010 -0700 |
tree | 49abfa45476954d157749b5c18943a61adb9ca74 | |
parent | 8c2980e8b973a21468c9fece0490cd440afc0660 [diff] [blame] |
AU: HTTP success is not just 200, but anything in the 2xx range BUG=None TEST=attached unittest Review URL: http://codereview.chromium.org/3036005
diff --git a/http_fetcher_unittest.cc b/http_fetcher_unittest.cc index a579ea3..0a38c5c 100644 --- a/http_fetcher_unittest.cc +++ b/http_fetcher_unittest.cc
@@ -339,6 +339,7 @@ data.append(bytes, length); } virtual void TransferComplete(HttpFetcher* fetcher, bool successful) { + EXPECT_TRUE(successful); g_main_loop_quit(loop_); } string data;