mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-11-02 11:26:26 +00:00
a122b3b9b4
- fixing 'unknown pragma' warnings in GCC - cleaning up test structure
14 lines
267 B
C++
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);
|
|
}
|