format: test invalid specifier with unused specifier

we are using '!' as a specifier now, so don't test invalid specifiers
with this value...
This commit is contained in:
Danny Robson 2016-02-03 12:02:56 +11:00
parent b37ce1c165
commit 9248c2f379

View File

@ -18,7 +18,7 @@ main (void)
}, "missing value"); }, "missing value");
tap.expect_throw<util::format::format_error> ([] (void) { tap.expect_throw<util::format::format_error> ([] (void) {
util::format::render ("%!", 42); util::format::render ("%<", 42);
}, "invalid specifier"); }, "invalid specifier");
tap.expect_throw<util::format::format_error> ([] (void) { tap.expect_throw<util::format::format_error> ([] (void) {