From: Francis Dupont Date: Fri, 27 Nov 2015 13:11:18 +0000 (+0100) Subject: [4204fd] Added a .bin unit test X-Git-Tag: trac4204fd_before~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5759a4dbc5752eec6245cff5dd9431e7e610d690;p=thirdparty%2Fkea.git [4204fd] Added a .bin unit test --- diff --git a/src/lib/eval/tests/context_unittest.cc b/src/lib/eval/tests/context_unittest.cc index 50c2f60917..6426c126d2 100644 --- a/src/lib/eval/tests/context_unittest.cc +++ b/src/lib/eval/tests/context_unittest.cc @@ -326,6 +326,8 @@ TEST_F(EvalContextTest, parseErrors) { ":1.8-10: syntax error, " "unexpected constant hexstring, " "expecting integer or option name"); + checkError("option[10].bin", ":1.12: Invalid character: b"); + checkError("option[boot-size].bin", ":1.19: Invalid character: b"); checkError("substring('foobar') == 'f'", ":1.19: syntax error, " "unexpected ), expecting \",\"");