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/style/style_layer.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/style/style_layer.test.cpp')
-rw-r--r-- | test/style/style_layer.test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/style/style_layer.test.cpp b/test/style/style_layer.test.cpp index 8356f3accd..773d172876 100644 --- a/test/style/style_layer.test.cpp +++ b/test/style/style_layer.test.cpp @@ -278,20 +278,20 @@ TEST(Layer, Observer) { TEST(Layer, DuplicateLayer) { util::RunLoop loop; - //Setup style + // Setup style StubFileSource fileSource; Style style { fileSource, 1.0 }; style.setJSON(util::read_file("test/fixtures/resources/style-unused-sources.json")); - //Add initial layer + // Add initial layer style.addLayer(std::make_unique<LineLayer>("line", "unusedsource")); - //Try to add duplicate + // Try to add duplicate try { style.addLayer(std::make_unique<LineLayer>("line", "unusedsource")); FAIL() << "Should not have been allowed to add a duplicate layer id"; } catch (const std::runtime_error e) { - //Expected + // Expected ASSERT_STREQ("Layer line already exists", e.what()); } } |