summaryrefslogtreecommitdiff
path: root/test/storage/http_cancel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/storage/http_cancel.cpp')
-rw-r--r--test/storage/http_cancel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/storage/http_cancel.cpp b/test/storage/http_cancel.cpp
index 7dfe9c58d5..cbe273e05d 100644
--- a/test/storage/http_cancel.cpp
+++ b/test/storage/http_cancel.cpp
@@ -38,14 +38,13 @@ TEST_F(Storage, HTTPCancelMultiple) {
});
Request* req = fs.request(resource, uv_default_loop(), [&](const Response &res) {
fs.cancel(req);
- EXPECT_EQ(Response::Successful, res.status);
+ EXPECT_EQ(nullptr, res.error);
EXPECT_EQ(false, res.stale);
ASSERT_TRUE(res.data.get());
EXPECT_EQ("Hello World!", *res.data);
EXPECT_EQ(0, res.expires);
EXPECT_EQ(0, res.modified);
EXPECT_EQ("", res.etag);
- EXPECT_EQ("", res.message);
HTTPCancelMultiple.finish();
});
fs.cancel(req2);