summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/url_request/url_request_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc
index 77f08ef..e134208 100644
--- a/net/url_request/url_request_unittest.cc
+++ b/net/url_request/url_request_unittest.cc
@@ -533,8 +533,8 @@ TEST_F(URLRequestTest, FileTest) {
MessageLoop::current()->Run();
- int64 file_size;
- file_util::GetFileSize(app_path, &file_size);
+ int64 file_size = -1;
+ EXPECT_TRUE(file_util::GetFileSize(app_path, &file_size));
EXPECT_TRUE(!r.is_pending());
EXPECT_EQ(1, d.response_started_count());