(w)context -> (w)format_context
This commit is contained in:
@@ -38,8 +38,9 @@ struct ValueExtractor: fmt::internal::function<T> {
|
||||
|
||||
TEST(FormatTest, ArgConverter) {
|
||||
long long value = std::numeric_limits<long long>::max();
|
||||
auto arg = fmt::internal::make_arg<fmt::context>(value);
|
||||
visit(fmt::internal::arg_converter<long long, fmt::context>(arg, 'd'), arg);
|
||||
auto arg = fmt::internal::make_arg<fmt::format_context>(value);
|
||||
visit(fmt::internal::arg_converter<long long, fmt::format_context>(arg, 'd'),
|
||||
arg);
|
||||
EXPECT_EQ(value, visit(ValueExtractor<long long>(), arg));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user