diff --git a/test/format.cpp b/test/format.cpp index bdaa5980..1c14c110 100644 --- a/test/format.cpp +++ b/test/format.cpp @@ -9,8 +9,9 @@ main (void) util::TAP::logger tap; - tap.expect_eq (util::format::render ("identity"), "identity"s, "identity literal"); - tap.expect_eq (util::format::render ("%s", "identity"s), "identity"s, "identity substitution"); + tap.expect_eq (util::format::render ("identity"), "identity"s, "identity literal"); + tap.expect_eq (util::format::render ("%s", "identity"s), "identity"s, "identity string substitution"); + tap.expect_eq (util::format::render ("%s", "identity" ), "identity"s, "identity char[] substitution"); tap.expect_throw ([] (void) { util::format::render ("%s"); }, "missing value"); tap.expect_throw ([] (void) { util::format::render ("%!", 42); }, "invalid specifier");