Use a more common locale, en_US.UTF-8 is not always present.

Refs https://code.wildfiregames.com/D2101
Thread:
https://wildfiregames.com/forum/topic/28209-binariessystemtest-fmtsprintf-f-with-separator/?tab=comments#comment-396875

This was SVN commit r24300.
This commit is contained in:
Stan
2020-11-30 13:59:05 +00:00
parent 6eda2b1803
commit ad2f08a355
+1 -1
View File
@@ -25,7 +25,7 @@ public:
void test_basic()
{
// Make test behave independent of current host locale
char* old = setlocale(LC_ALL, "en_US.UTF-8");
char* old = setlocale(LC_ALL, "C");
TS_ASSERT_EQUALS(fmt::sprintf("abc"), "abc");