tomlplusplus/tests/impl_catch2.cpp

14 lines
267 B
C++
Raw Normal View History

#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);
}