Skip to content

Commit

Permalink
codacy code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffaello committed May 1, 2020
1 parent 1587146 commit f7fb9f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdl2-vga-terminal/test/snapshotTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ void snapShotTest(VgaTerminal& term, const std::string& snapshotFilename)
#else
SDL_Surface* image = IMG_Load(("snapshot/" + snapshotFilename).c_str());
ASSERT_FALSE(NULL == image);
ASSERT_FALSE(NULL == image->format);
EXPECT_EQ(image->format->format, snapshot->format->format);
EXPECT_EQ(image->format->BytesPerPixel, snapshot->format->BytesPerPixel);
EXPECT_EQ(image->pitch, snapshot->pitch);
Expand Down

0 comments on commit f7fb9f0

Please sign in to comment.