Fix locales used in re tests.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,8 +21,8 @@ int main()
|
||||
{
|
||||
{
|
||||
std::regex_traits<char> t;
|
||||
std::locale loc = t.imbue(std::locale("en_US"));
|
||||
std::locale loc = t.imbue(std::locale("en_US.UTF-8"));
|
||||
assert(loc.name() == "C");
|
||||
assert(t.getloc().name() == "en_US");
|
||||
assert(t.getloc().name() == "en_US.UTF-8");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user