Skip to content

Commit dd19a58

Browse files
committed
Another location with incorrect locale in test.
1 parent 9145dd5 commit dd19a58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/tests/functional/utils/strings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ TEST(scan_string_locale, "Ignore:Android", "Locale unsupported on Android")
100100
VERIFY_ARE_EQUAL(_XPLATSTR("1,000"), utility::conversions::scan_string<utility::string_t>(utility::string_t(_XPLATSTR("1,000")), std::locale(changedLocale.c_str())));
101101

102102
{
103-
tests::common::utilities::locale_guard loc(std::locale("en-us"));
103+
tests::common::utilities::locale_guard loc(std::locale(changedLocale.c_str()));
104104
VERIFY_ARE_EQUAL(_XPLATSTR("1000"), utility::conversions::scan_string<utility::string_t>(utility::string_t(_XPLATSTR("1000")), std::locale::classic()));
105105
VERIFY_ARE_EQUAL(_XPLATSTR("1,000"), utility::conversions::scan_string<utility::string_t>(utility::string_t(_XPLATSTR("1,000")), std::locale::classic()));
106106
}

0 commit comments

Comments
 (0)