Parcourir la source

[3400] Uncommented previously commented checks.

Tomek Mrugalski il y a 11 ans
Parent
commit
2a77f5bb41
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/lib/cc/tests/data_file_unittests.cc

+ 2 - 2
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.