Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jng468 committed Nov 30, 2024
1 parent d7cac93 commit 849e44a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ custom_interfaces::msg::Path LocalTransceiver::receive()
if (rsp.MO_status_ == 0) {
if (rsp.MT_status_ == 0) {
return parseInMsg("-1");
} else if (rsp.MT_status_ == 1) {
} else if (rsp.MT_status_ == 1) { //NOLINT
break;
} else if (rsp.MT_status_ == 2) {
continue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ TEST_F(TestLocalTransceiver, testMailboxBlackbox)
std::string holder = "curl -X POST -F \"test=1234\" http://localhost:8080";
std::string holder2 = "printf \"at+sbdix\r\" > $LOCAL_TRANSCEIVER_TEST_PORT";

system(holder.c_str());
system(holder2.c_str());
system(holder.c_str()); //NOLINT
system(holder2.c_str()); //NOLINT

std::optional<std::string> response = lcl_trns_->readRsp();
std::cout << *response << std::endl;
Expand Down Expand Up @@ -298,10 +298,9 @@ TEST_F(TestLocalTransceiver, parseReceiveMessageBlackbox)

std::string holder2 = "curl -X POST -F \"data=@/tmp/serialized_data.bin\" http://localhost:8080";

std::system(holder2.c_str());
std::system(holder2.c_str()); //NOLINT

system(holder2.c_str());
//system(holder3.c_str());
system(holder2.c_str()); //NOLINT

custom_interfaces::msg::Path received_data = lcl_trns_->receive();

Expand Down

0 comments on commit 849e44a

Please sign in to comment.