From d9ee2b93c7e7b91e7896976b117d9d14634c8a7f Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Wed, 3 Feb 2016 09:12:40 +0100 Subject: [PATCH] [T] enabled a further test case --- Tests/BaseLib/TestConfigTree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/BaseLib/TestConfigTree.cpp b/Tests/BaseLib/TestConfigTree.cpp index 5f7d98bdd51..726747bcd6e 100644 --- a/Tests/BaseLib/TestConfigTree.cpp +++ b/Tests/BaseLib/TestConfigTree.cpp @@ -225,8 +225,8 @@ TEST(BaseLibConfigTree, Get) auto const opt = z.getConfAttributeOptional<bool>("optattr"); EXPECT_TRUE(!!opt); EXPECT_FALSE(*opt); EXPECT_ERR_WARN(cbs, false, false); - //EXPECT_ANY_THROW(z.getConfAttributeOptional<bool>("optattr")); // getting attribute twice - //EXPECT_ERR_WARN(cbs, true, false); + EXPECT_ANY_THROW(z.getConfAttributeOptional<bool>("optattr")); // getting attribute twice + EXPECT_ERR_WARN(cbs, true, false); EXPECT_FALSE(z.getConfAttributeOptional<bool>("also_not_an_attr")); // nonexisting attribute EXPECT_ERR_WARN(cbs, false, false); } -- GitLab