Skip to content

Commit

Permalink
fix cpplint Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MineShadow7 committed Mar 31, 2024
1 parent 9b6fad4 commit e802964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/TimedDoor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void Timer::tregister(int timeout, TimerClient *client) {
}

void Timer::sleep(int timeout) {
for(int i = 0; i < timeout; i++) {
for (int i = 0; i < timeout; i++) {
i--;
}
}
4 changes: 2 additions & 2 deletions test/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
#include "TimedDoor.h"

class MockTimerClient : public TimerClient {
public:
public:
MOCK_METHOD(void, Timeout, ());
};

class TimedDoorTest : public ::testing::Test {
protected:
protected:
void SetUp() override {
door = new TimedDoor(100);
}
Expand Down

0 comments on commit e802964

Please sign in to comment.