Skip to content

Commit a6b39a9

Browse files
committed
Fix formatting
1 parent 44600f0 commit a6b39a9

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

testing/Command_Interpreter_Testing.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ int getSerialChar(int* serial) {
4343
TEST(CommandInterpreterTest, CreateCommandInterpreter) {
4444
testing::internal::CaptureStdout();
4545
int serial = -1;
46-
initializeSerial
47-
(&serial);
46+
initializeSerial(&serial);
4847

4948
auto pinNumbers = std::vector<int>{4, 5, 2, 3, 9, 7, 8, 6};
5049

@@ -90,8 +89,7 @@ TEST(CommandInterpreterTest, CreateCommandInterpreter) {
9089
TEST(CommandInterpreterTest, CreateCommandInterpreterWithDigitalPins) {
9190
testing::internal::CaptureStdout();
9291
int serial = -1;
93-
initializeSerial
94-
(&serial);
92+
initializeSerial(&serial);
9593

9694
auto pinNumbers = std::vector<int>{4, 5, 2, 3, 9, 7, 8, 6};
9795

@@ -142,8 +140,7 @@ TEST(CommandInterpreterTest, CreateCommandInterpreterWithDigitalPins) {
142140
TEST(CommandInterpreterTest, BlindExecuteHardwarePwm) {
143141
testing::internal::CaptureStdout();
144142
int serial = -1;
145-
initializeSerial
146-
(&serial);
143+
initializeSerial(&serial);
147144

148145
const CommandComponent acceleration = {1900, 1900, 1100,
149146
1250, 1300, 1464, 1535,
@@ -206,8 +203,7 @@ TEST(CommandInterpreterTest, BlindExecuteHardwarePwm) {
206203
TEST(CommandInterpreterTest, BlindExecuteSoftwarePwm) {
207204
testing::internal::CaptureStdout();
208205
int serial = -1;
209-
initializeSerial
210-
(&serial);
206+
initializeSerial(&serial);
211207

212208
const CommandComponent acceleration = {1100, 1900, 1100,
213209
1250, 1300, 1464, 1535,

0 commit comments

Comments
 (0)