The rest of the test uses the #defines for the locale names properly. In
this single spot we do hardcode the string. This causes this test to
fail on CloudABI, where this locale is called en_US.UTF-8@UTC.
llvm-svn: 232365
{
test<char> t;
assert(t.getloc().name() == LOCALE_en_US_UTF_8);
- assert(t.pubimbue(std::locale(LOCALE_fr_FR_UTF_8)).name() == "en_US.UTF-8");
+ assert(t.pubimbue(std::locale(LOCALE_fr_FR_UTF_8)).name() ==
+ LOCALE_en_US_UTF_8);
assert(t.getloc().name() == LOCALE_fr_FR_UTF_8);
}
}