mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-25 01:52:31 +00:00
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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user