diff --git a/src/test/yaze_test.cc b/src/test/yaze_test.cc index e2fed0d1..f12965e7 100644 --- a/src/test/yaze_test.cc +++ b/src/test/yaze_test.cc @@ -21,11 +21,10 @@ int main(int argc, char* argv[]) { absl::FailureSignalHandlerOptions options; absl::InstallFailureSignalHandler(options); - // Support the ability to launch an integration test window. - SDL_SetMainReady(); - // Check if the argument says `integration` if (argc > 1 && std::string(argv[1]) == "integration") { + // Support the ability to launch an integration test window. + SDL_SetMainReady(); yaze_test::integration::TestEditor test_editor; yaze::app::core::Controller controller; controller.init_test_editor(&test_editor);