From e31a2c1c116cd79d8383b1cc9dd50862e87af941 Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Fri, 21 Oct 2016 11:53:13 +0300 Subject: [core] fixup formatting --- test/style/source.test.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'test/style') diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp index 3aebe10769..73908a144b 100644 --- a/test/style/source.test.cpp +++ b/test/style/source.test.cpp @@ -384,7 +384,7 @@ TEST(Source, RasterTileAttribution) { TEST(Source, GeoJSonSourceUrlUpdate) { SourceTest test; - + test.fileSource.sourceResponse = [&] (const Resource& resource) { EXPECT_EQ("url", resource.url); Response response; @@ -394,7 +394,7 @@ TEST(Source, GeoJSonSourceUrlUpdate) { test.observer.sourceDescriptionChanged = [&] (Source&) { //Should be called (test will hang if it doesn't) - test.end(); + test.end(); }; test.observer.tileError = [&] (Source&, const OverscaledTileID&, std::exception_ptr) { @@ -403,15 +403,15 @@ TEST(Source, GeoJSonSourceUrlUpdate) { GeoJSONSource source("source"); source.baseImpl->setObserver(&test.observer); - - //Load initial, so the source state will be loaded=true - source.baseImpl->loadDescription(test.fileSource); - - //Schedule an update - test.loop.invoke([&] () { - //Update the url - source.setURL(std::string("http://source-url.ext")); - }); + + //Load initial, so the source state will be loaded=true + source.baseImpl->loadDescription(test.fileSource); + + //Schedule an update + test.loop.invoke([&] () { + //Update the url + source.setURL(std::string("http://source-url.ext")); + }); test.run(); } -- cgit v1.2.1