From 376c01fc1b6114e6717a9f515999dd1bf67db39a Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Fri, 30 Mar 2012 03:39:02 +0530 Subject: [PATCH] [1627] Fix type of exception thrown in testcase NameParserExceptions are now caught and AuthConfigError is thrown. --- src/bin/auth/tests/config_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/auth/tests/config_unittest.cc b/src/bin/auth/tests/config_unittest.cc index fb5067e792..6fc4cefa0b 100644 --- a/src/bin/auth/tests/config_unittest.cc +++ b/src/bin/auth/tests/config_unittest.cc @@ -332,7 +332,7 @@ TEST_F(MemoryDatasrcConfigTest, addBadZone) { "[{\"type\": \"memory\"," " \"zones\": [{\"origin\": \"example..com\"," " \"file\": \"example.zone\"}]}]")), - EmptyLabel); + AuthConfigError); // bogus RR class name EXPECT_THROW(parser->build(