Commit 2a77f5bb authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[3400] Uncommented previously commented checks.

parent 5916bcf3
...@@ -90,11 +90,11 @@ TEST_F(DataFileTest, readFileComments) { ...@@ -90,11 +90,11 @@ TEST_F(DataFileTest, readFileComments) {
writeFile(commented_content); writeFile(commented_content);
// Check that the read will fail (without comment elimination) // 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) // Check that the read content is correct (with comment elimination)
EXPECT_NO_THROW(Element::fromJSONFile(TEMP_FILE, true)); 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. // This test checks that missing file will generate an exception.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment