tomlplusplus/tests/impl_catch2.cpp
Mark Gillard a122b3b9b4 more preprocessor cleanup
- fixing 'unknown pragma' warnings in GCC
- cleaning up test structure
2020-06-24 21:05:23 +03:00

14 lines
267 B
C++

#define CATCH_CONFIG_RUNNER
#include "catch2.h"
#include <clocale>
int main(int argc, char* argv[])
{
#ifdef _WIN32
SetConsoleOutputCP(65001);
#endif
std::setlocale(LC_ALL, "");
std::locale::global(std::locale(""));
return Catch::Session().run(argc, argv);
}