]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4438] Updated netconf UT
authorFrancis Dupont <fdupont@isc.org>
Mon, 4 May 2026 11:45:59 +0000 (13:45 +0200)
committerFrancis Dupont <fdupont@isc.org>
Mon, 4 May 2026 21:32:37 +0000 (23:32 +0200)
src/bin/netconf/tests/parser_unittests.cc

index 76515e2a9cb3a427bbb90a6e0acf8bcab65f272f..ed968f961b1cd8e53ff758712eb9e57a427c67a8 100644 (file)
@@ -123,8 +123,8 @@ TEST(ParserTest, types) {
 
 TEST(ParserTest, integers) {
     // Should get warnings for all items at the exception of the first one.
-    string txt = "[ 0, 00, 01, 001 ]";
-    testParser(txt, ParserContext::PARSER_JSON);
+    string txt = "[ 0, 00, 01, -001 ]";
+    testParser(txt, ParserContext::PARSER_JSON, false);
 }
 
 TEST(ParserTest, keywordJSON) {