forked from boostorg/mqtt5
Correct two/four byte integer properties' types.
Reviewers: ivica Reviewed By: ivica Subscribers: korina Differential Revision: https://repo.mireo.local/D27901
This commit is contained in:
1 parent
cfa2b76176
commit
cbe477a701
14 files changed
+57
-62
No files matched your search
@@ -164,7 +164,7 @@ BOOST_AUTO_TEST_CASE(large_subscription_id) {
|
||||
cprops[prop::subscription_identifier_available] = uint8_t(1);
|
||||
|
||||
subscribe_props sprops;
|
||||
sprops[prop::subscription_identifier] = std::numeric_limits<uint32_t>::max();
|
||||
sprops[prop::subscription_identifier] = std::numeric_limits<int32_t>::max();
|
||||
|
||||
run_test(client::error::malformed_packet, "topic", sprops, cprops);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user