Skip to content

Commit

Permalink
Fix unit tests compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Aug 13, 2016
1 parent 16786f9 commit bbb547d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tests/gui/test_gui2.cpp
Expand Up @@ -769,7 +769,9 @@ struct twrapper<gui2::tmp_create_game>
{
static gui2::tmp_create_game* create()
{
return new gui2::tmp_create_game(main_config);
saved_game state;
ng::create_engine engine(test_utils::get_fake_display(1024, 768).video(), state);

This comment has been minimized.

Copy link
@aginor

aginor Aug 14, 2016

Contributor

shouldn't this be 800x600 so we make sure the unit tests run on the minimum supported resolution?

This comment has been minimized.

Copy link
@CelticMinstrel

CelticMinstrel Aug 14, 2016

Author Member

Maybe, I only did this because it was the same as the call in main.cpp. I'm not even sure if calling it again is right, or if it was cached somewhere.

return new gui2::tmp_create_game(main_config, engine);
}
};

Expand Down

0 comments on commit bbb547d

Please sign in to comment.