Add locale tests

This commit is contained in:
vitaut
2016-02-02 17:21:09 -08:00
parent 4952e79e45
commit e489f879c3
3 changed files with 117 additions and 4 deletions

View File

@@ -388,7 +388,7 @@ TEST(FileTest, FdopenError) {
f.fdopen("r"), EBADF, "cannot associate stream with file descriptor");
}
#ifdef LC_NUMERIC_MASK
#ifdef FMT_LOCALE
TEST(LocaleTest, Strtod) {
fmt::Locale locale;
const char *start = "4.2", *ptr = start;