Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rvinaybharadwaj committed Sep 19, 2024
1 parent 7a49eda commit f16227d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/feeder/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ETFeederTest : public ::testing::Test {
}

virtual void TearDown() {
delete trace;
delete trace;
}

Chakra::ETFeeder* trace;
Expand Down Expand Up @@ -67,7 +67,7 @@ TEST_F(ETFeederTest, RemoveTest) {
try {
node = trace->lookupNode(216);
ASSERT_TRUE(false) << "node should be removed \n";
} catch (const std::exception & e) {
} catch (const std::exception& e) {
// this is the desired behaviour
}
freopen("/dev/tty", "w", stderr);
Expand Down
10 changes: 5 additions & 5 deletions tests/feeder/wrapperTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ class WrapperNodeTest : public ::testing::Test {
WrapperNodeTest() {}
virtual ~WrapperNodeTest() {}

void SetUp(const std::string& filename) {
node.createWrapper(filename);
void SetUp(const std::string& filename) {
node.createWrapper(filename);
}

virtual void TearDown() {
node.releaseMemory();
virtual void TearDown() {
node.releaseMemory();
}

WrapperNode node;
Expand Down Expand Up @@ -74,7 +74,7 @@ TEST_F(WrapperNodeTest, RemoveTest) {
try {
node.lookupNode(216);
ASSERT_TRUE(false) << "node should be removed \n";
} catch (const std::exception & e) {
} catch (const std::exception& e) {
// this is the desired behaviour
}
freopen("/dev/tty", "w", stderr);
Expand Down

0 comments on commit f16227d

Please sign in to comment.