summaryrefslogtreecommitdiff
path: root/test/storage/online_file_source.test.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-09-28 12:52:41 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-09-30 17:01:05 +0200
commitb470a655825ae3b805734aae3e1d49b9014a7be0 (patch)
tree45392d51c58110336e6f169a1c923581e2c8872f /test/storage/online_file_source.test.cpp
parentd4888cb39d0c52e23068b579af6beeb04ecb5714 (diff)
downloadqtlocation-mapboxgl-b470a655825ae3b805734aae3e1d49b9014a7be0.tar.gz
[build] add back -Werror
Diffstat (limited to 'test/storage/online_file_source.test.cpp')
-rw-r--r--test/storage/online_file_source.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/storage/online_file_source.test.cpp b/test/storage/online_file_source.test.cpp
index b832f9c339..95b330390f 100644
--- a/test/storage/online_file_source.test.cpp
+++ b/test/storage/online_file_source.test.cpp
@@ -398,7 +398,7 @@ TEST(OnlineFileSource, TEST_REQUIRES_SERVER(RateLimitDefault)) {
auto req = fs.request({ Resource::Unknown, "http://127.0.0.1:3000/rate-limit" }, [&](Response res) {
ASSERT_NE(nullptr, res.error);
EXPECT_EQ(Response::Error::Reason::RateLimit, res.error->reason);
- ASSERT_EQ(false, bool(res.error->retryAfter));
+ ASSERT_FALSE(res.error->retryAfter);
loop.stop();
});