diff options
author | Razvan Becheriu <razvan@isc.org> | 2023-08-21 07:10:45 +0200 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2023-09-18 10:08:07 +0200 |
commit | 150ef07994da9c59ac4081c8df58f5d4d748cac7 (patch) | |
tree | 093452f78a1a0bf10cc645b945bd0a58b048871e /src/bin/agent/tests/parser_unittests.cc | |
parent | [#2904] revert parsers grammar changes in ARM (diff) | |
download | kea-150ef07994da9c59ac4081c8df58f5d4d748cac7.tar.xz kea-150ef07994da9c59ac4081c8df58f5d4d748cac7.zip |
[#3003] output_options alias for output-options
Diffstat (limited to 'src/bin/agent/tests/parser_unittests.cc')
-rw-r--r-- | src/bin/agent/tests/parser_unittests.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/agent/tests/parser_unittests.cc b/src/bin/agent/tests/parser_unittests.cc index dfbc14d7df..166d6f99aa 100644 --- a/src/bin/agent/tests/parser_unittests.cc +++ b/src/bin/agent/tests/parser_unittests.cc @@ -285,12 +285,12 @@ TEST(ParserTest, embbededComments) { testParser(txt, ParserContext::PARSER_AGENT, false); } -// Test that output-options is an alias of output_options. +// Test that output_options is an alias of output-options. TEST(ParserTest, outputDashOptions) { string txt = "{ \"Control-agent\": {" " \"loggers\": [ { " " \"name\": \"kea-ctrl-agent\"," - " \"output-options\": [ { \"output\": \"stdout\" } ]," + " \"output_options\": [ { \"output\": \"stdout\" } ]," " \"severity\": \"INFO\" } ]" "} }"; testParser(txt, ParserContext::PARSER_AGENT, false); @@ -912,7 +912,7 @@ TEST_F(TrailingCommasTest, tests) { { "debuglevel": 99, "name": "kea-ctrl-agent", - "output_options": [ + "output-options": [ { "output": "stdout", }, |