diff options
Diffstat (limited to 'test/storage/http_timeout.cpp')
-rw-r--r-- | test/storage/http_timeout.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/storage/http_timeout.cpp b/test/storage/http_timeout.cpp index c736dbe05f..8f8a5e2633 100644 --- a/test/storage/http_timeout.cpp +++ b/test/storage/http_timeout.cpp @@ -21,9 +21,9 @@ TEST_F(Storage, HTTPTimeout) { EXPECT_EQ(nullptr, res.error); ASSERT_TRUE(res.data.get()); EXPECT_EQ("Hello World!", *res.data); - EXPECT_LT(Seconds::zero(), res.expires); - EXPECT_EQ(Seconds::zero(), res.modified); - EXPECT_EQ("", res.etag); + EXPECT_TRUE(bool(res.expires)); + EXPECT_FALSE(bool(res.modified)); + EXPECT_FALSE(bool(res.etag)); if (counter == 4) { req.reset(); loop.stop(); |