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:
parent
b37ce1c165
commit
9248c2f379
@ -18,7 +18,7 @@ main (void)
|
||||
}, "missing value");
|
||||
|
||||
tap.expect_throw<util::format::format_error> ([] (void) {
|
||||
util::format::render ("%!", 42);
|
||||
util::format::render ("%<", 42);
|
||||
}, "invalid specifier");
|
||||
|
||||
tap.expect_throw<util::format::format_error> ([] (void) {
|
||||
|
Loading…
Reference in New Issue
Block a user