From ad2f08a355ed86996349192edd3be3fbdb04e162 Mon Sep 17 00:00:00 2001 From: Stan Date: Mon, 30 Nov 2020 13:59:05 +0000 Subject: [PATCH] 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. --- source/ps/tests/test_fmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ps/tests/test_fmt.h b/source/ps/tests/test_fmt.h index 2c53881999..6b1506f058 100644 --- a/source/ps/tests/test_fmt.h +++ b/source/ps/tests/test_fmt.h @@ -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");