Get rid of fmt::internal::Arg
This commit is contained in:
@@ -42,12 +42,12 @@
|
||||
#undef max
|
||||
|
||||
TEST(FormatTest, ArgConverter) {
|
||||
using fmt::internal::Arg;
|
||||
Arg arg = Arg();
|
||||
arg.type = Arg::LONG_LONG;
|
||||
using fmt::format_arg;
|
||||
format_arg arg = format_arg();
|
||||
arg.type = format_arg::LONG_LONG;
|
||||
arg.long_long_value = std::numeric_limits<fmt::LongLong>::max();
|
||||
visit(fmt::internal::ArgConverter<fmt::LongLong>(arg, 'd'), arg);
|
||||
EXPECT_EQ(Arg::LONG_LONG, arg.type);
|
||||
EXPECT_EQ(format_arg::LONG_LONG, arg.type);
|
||||
}
|
||||
|
||||
TEST(FormatTest, FormatNegativeNaN) {
|
||||
|
||||
Reference in New Issue
Block a user