diff --git a/test/parser/read_lab_file_test.cpp b/test/parser/read_lab_file_test.cpp index b2ee34ce3..afaae3111 100644 --- a/test/parser/read_lab_file_test.cpp +++ b/test/parser/read_lab_file_test.cpp @@ -76,6 +76,8 @@ TEST(ReadLabFileTest, ParseTest) { //Deleting the labeling delete labeling; + } else { + FAIL(); } } diff --git a/test/parser/read_tra_file_test.cpp b/test/parser/read_tra_file_test.cpp index e2eed9787..60dad7eb0 100644 --- a/test/parser/read_tra_file_test.cpp +++ b/test/parser/read_tra_file_test.cpp @@ -62,6 +62,8 @@ TEST(ReadTraFileTest, ParseFileTest1) { ASSERT_TRUE(result->getValue(4,4,&val)); ASSERT_EQ(val,0); delete result; + } else { + FAIL(); } }