Przeglądaj źródła

Tests/LibGfx: Fix test_gif test case

We should expect the GIF image to be animated, therefore fix that
condition.
Liav A 2 lat temu
rodzic
commit
20033d06d8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Tests/LibGfx/TestImageDecoder.cpp

+ 1 - 1
Tests/LibGfx/TestImageDecoder.cpp

@@ -48,7 +48,7 @@ TEST_CASE(test_gif)
     EXPECT_EQ(plugin_decoder->initialize(), true);
     EXPECT_EQ(plugin_decoder->initialize(), true);
 
 
     EXPECT(plugin_decoder->frame_count());
     EXPECT(plugin_decoder->frame_count());
-    EXPECT(!plugin_decoder->is_animated());
+    EXPECT(plugin_decoder->is_animated());
     EXPECT(!plugin_decoder->loop_count());
     EXPECT(!plugin_decoder->loop_count());
 
 
     auto frame = plugin_decoder->frame(1).release_value_but_fixme_should_propagate_errors();
     auto frame = plugin_decoder->frame(1).release_value_but_fixme_should_propagate_errors();