From 9248c2f379eb224be252dc63b8028a99fe6e2adc Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 3 Feb 2016 12:02:56 +1100 Subject: [PATCH] format: test invalid specifier with unused specifier we are using '!' as a specifier now, so don't test invalid specifiers with this value... --- test/format.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/format.cpp b/test/format.cpp index 2e0b425c..a3c0cb37 100644 --- a/test/format.cpp +++ b/test/format.cpp @@ -18,7 +18,7 @@ main (void) }, "missing value"); tap.expect_throw ([] (void) { - util::format::render ("%!", 42); + util::format::render ("%<", 42); }, "invalid specifier"); tap.expect_throw ([] (void) {