mirror of
				https://github.com/fmtlib/fmt.git
				synced 2025-10-31 14:11:44 +01:00 
			
		
		
		
	Merge branch 'master' into update-project-layout
This commit is contained in:
		| @@ -387,3 +387,12 @@ TEST(FileTest, FdopenError) { | ||||
|   EXPECT_SYSTEM_ERROR_NOASSERT( | ||||
|       f.fdopen("r"), EBADF, "cannot associate stream with file descriptor"); | ||||
| } | ||||
|  | ||||
| #ifdef LC_NUMERIC_MASK | ||||
| TEST(LocaleTest, Strtod) { | ||||
|   fmt::Locale locale; | ||||
|   const char *start = "4.2", *ptr = start; | ||||
|   EXPECT_EQ(4.2, locale.strtod(ptr)); | ||||
|   EXPECT_EQ(start + 3, ptr); | ||||
| } | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user