Skip to content

Commit

Permalink
fix: Fix malfunctioning Baud rate test
Browse files Browse the repository at this point in the history
  • Loading branch information
2b-t committed Nov 19, 2023
1 parent a138e8b commit d4a175a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/protocol/requests_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace myactuator_rmd {
}

TEST(SetBaudRate1RequestTest, parsing) {
myactuator_rmd::SetBaudRateRequest const request {{0x79, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01}};
myactuator_rmd::SetBaudRateRequest const request {{0xB4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01}};
BaudRate const baud_rate {request.getBaudRate()};
EXPECT_EQ(baud_rate, BaudRate::MBPS1);
}
Expand Down

0 comments on commit d4a175a

Please sign in to comment.