Skip to content

Commit

Permalink
Fix unit test type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo-Yuan-Huang committed Feb 17, 2018
1 parent 62f69da commit b8afe1f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/t_op_sanity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ namespace ila {
class TestOpSanity : public ::testing::Test {
public:
TestOpSanity() {
m = new Ila("host");
// TODO
}

~TestOpSanity() {
// TODO
if (m)
delete m;
}

void SetUp() {
Expand All @@ -26,7 +28,7 @@ class TestOpSanity : public ::testing::Test {
SetToStdErr(0);
}

InstrLvlAbsPtr ila = InstrLvlAbs::New("host");
Ila* m = NULL;

}; // class TestOpSanity

Expand Down

0 comments on commit b8afe1f

Please sign in to comment.