Skip to content

Commit

Permalink
Tests: fix type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
rbx committed Sep 5, 2024
1 parent 91cbb70 commit 8915682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cc-tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ BOOST_AUTO_TEST_CASE(construction)

BOOST_TEST(propertiesSetCmds.At(0).GetType() == Type::properties_set);
BOOST_TEST(static_cast<PropertiesSet&>(propertiesSetCmds.At(0)).GetDeviceId() == "somedeviceid");
BOOST_TEST(static_cast<Properties&>(propertiesSetCmds.At(0)).GetTaskId() == 123456);
BOOST_TEST(static_cast<PropertiesSet&>(propertiesSetCmds.At(0)).GetTaskId() == 123456);
BOOST_TEST(static_cast<PropertiesSet&>(propertiesSetCmds.At(0)).GetRequestId() == 42);
BOOST_TEST(static_cast<PropertiesSet&>(propertiesSetCmds.At(0)).GetResult() == Result::Ok);
}
Expand Down

0 comments on commit 8915682

Please sign in to comment.