mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-02 23:21:45 +01:00
Rename write_double to write_fp
It handles all floating point types, not just doubles.
This commit is contained in:
committed by
Victor Zverovich
parent
b87ac4d840
commit
3a15ea3ea5
@@ -23,7 +23,7 @@ TEST(LocaleTest, DoubleDecimalPoint) {
|
||||
fmt::internal::writer w(buf, fmt::internal::locale_ref(loc));
|
||||
auto specs = fmt::format_specs();
|
||||
specs.type = 'n';
|
||||
w.write_double<double, false>(1.23, specs);
|
||||
w.write_fp<double, false>(1.23, specs);
|
||||
EXPECT_EQ(fmt::to_string(buf), "1?23");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user