From: Tomek Mrugalski Date: Mon, 19 May 2014 09:22:14 +0000 (+0200) Subject: [3400] Uncommented previously commented checks. X-Git-Tag: trac3434_base~32^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a77f5bb4173558ef9271e0de7a0f85452ff9cda;p=thirdparty%2Fkea.git [3400] Uncommented previously commented checks. --- diff --git a/src/lib/cc/tests/data_file_unittests.cc b/src/lib/cc/tests/data_file_unittests.cc index e76b7c7c11..082c0df672 100644 --- a/src/lib/cc/tests/data_file_unittests.cc +++ b/src/lib/cc/tests/data_file_unittests.cc @@ -90,11 +90,11 @@ TEST_F(DataFileTest, readFileComments) { writeFile(commented_content); // Check that the read will fail (without comment elimination) -// EXPECT_THROW(Element::fromJSONFile(TEMP_FILE), JSONError); + EXPECT_THROW(Element::fromJSONFile(TEMP_FILE), JSONError); // Check that the read content is correct (with comment elimination) EXPECT_NO_THROW(Element::fromJSONFile(TEMP_FILE, true)); - //EXPECT_TRUE(exp->equals(*Element::fromJSONFile(TEMP_FILE, true))); + EXPECT_TRUE(exp->equals(*Element::fromJSONFile(TEMP_FILE, true))); } // This test checks that missing file will generate an exception.