diff --git a/test/format.cpp b/test/format.cpp index 1c14c110..2e0b425c 100644 --- a/test/format.cpp +++ b/test/format.cpp @@ -13,9 +13,17 @@ main (void) 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"); - tap.expect_throw ([] (void) { util::format::render ("%", 42); }, "truncated specifier"); + tap.expect_throw ([] (void) { + util::format::render ("%s"); + }, "missing value"); + + tap.expect_throw ([] (void) { + util::format::render ("%!", 42); + }, "invalid specifier"); + + tap.expect_throw ([] (void) { + util::format::render ("%", 42); + }, "truncated specifier"); return tap.status (); }