We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc8b14a commit be5bfa0Copy full SHA for be5bfa0
base/cvd/cuttlefish/host/commands/modem_simulator/unittest/service_test.cpp
@@ -135,7 +135,7 @@ class ModemServiceTest : public ::testing::Test {
135
r_pos = commands.find('\r', pos);
136
if (r_pos != std::string::npos) {
137
auto command = commands.substr(pos, r_pos - pos);
138
- if (command.size() > 0) { // "\r\r" ?
+ if (!command.empty()) { // "\r\r" ?
139
LOG(DEBUG) << "AT< " << command;
140
if (IsFinalResponseSuccess(command) || IsFinalResponseError(command)) {
141
response.push_back(command);
0 commit comments