diff options
Diffstat (limited to 'test/gl')
-rw-r--r-- | test/gl/context.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gl/context.test.cpp b/test/gl/context.test.cpp index 2561c84591..3818544021 100644 --- a/test/gl/context.test.cpp +++ b/test/gl/context.test.cpp @@ -95,7 +95,7 @@ TEST(GLContextMode, Shared) { // Set transparent background layer. auto layer = map.getStyle().getLayer("background"); - ASSERT_EQ(LayerType::Background, layer->getType()); + ASSERT_STREQ("background", layer->getTypeInfo()->type); static_cast<BackgroundLayer*>(layer)->setBackgroundColor( { { 1.0f, 0.0f, 0.0f, 0.5f } } ); { |