diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-01-26 18:52:44 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-01-27 11:44:16 +0100 |
commit | 62ea1f21858c69f6921c775ba7a3de201f0514d8 (patch) | |
tree | 7a4da88706e8a5513e1e13e993b2acc212cae3b1 /test/storage/local_file_source.test.cpp | |
parent | a662508ddde4043ece36d8ea9b424368891d892c (diff) | |
download | qtlocation-mapboxgl-62ea1f21858c69f6921c775ba7a3de201f0514d8.tar.gz |
[core] remove trailing whitespace, add trailing newlines, add space after //
Diffstat (limited to 'test/storage/local_file_source.test.cpp')
-rw-r--r-- | test/storage/local_file_source.test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/storage/local_file_source.test.cpp b/test/storage/local_file_source.test.cpp index c2f04d7543..1b90e5bb1e 100644 --- a/test/storage/local_file_source.test.cpp +++ b/test/storage/local_file_source.test.cpp @@ -104,14 +104,14 @@ TEST(LocalFileSource, URLEncoding) { TEST(LocalFileSource, URLLimit) { util::RunLoop loop; - + size_t length = PATH_MAX - toAbsoluteURL("").size(); LocalFileSource fs; char filename[length]; memset(filename, 'x', length); - + std::string url(filename, length); - + std::unique_ptr<AsyncRequest> req = fs.request({ Resource::Unknown, toAbsoluteURL(url) }, [&](Response res) { req.reset(); ASSERT_NE(nullptr, res.error); @@ -119,6 +119,6 @@ TEST(LocalFileSource, URLLimit) { ASSERT_FALSE(res.data.get()); loop.stop(); }); - + loop.run(); } |