From b2bd63d2d9a2a3b3651bdc0ae4aec0bd457e8aa5 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 25 Sep 2014 09:11:51 -0700 Subject: [PATCH] Test ArgList --- test/util-test.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/util-test.cc b/test/util-test.cc index 13c5f537..76adf0ad 100644 --- a/test/util-test.cc +++ b/test/util-test.cc @@ -243,6 +243,11 @@ TEST(ArgTest, MakeArg) { EXPECT_EQ("test", w.str()); } +TEST(UtilTest, ArgList) { + fmt::ArgList args; + EXPECT_EQ(Arg::NONE, args[fmt::ArgList::MAX_ARGS].type); +} + struct Result { Arg arg;