]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3400] Uncommented previously commented checks.
authorTomek Mrugalski <tomasz.mrugalski@gmail.com>
Mon, 19 May 2014 09:22:14 +0000 (11:22 +0200)
committerTomek Mrugalski <tomasz.mrugalski@gmail.com>
Mon, 19 May 2014 09:22:14 +0000 (11:22 +0200)
src/lib/cc/tests/data_file_unittests.cc

index e76b7c7c11f39bb980f27decc497869e7a718f1f..082c0df672e6c552159dbab1805022156deab47e 100644 (file)
@@ -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.