summaryrefslogtreecommitdiff
path: root/cpp/src/tests/amqp_0_10/Map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/amqp_0_10/Map.cpp')
-rw-r--r--cpp/src/tests/amqp_0_10/Map.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/tests/amqp_0_10/Map.cpp b/cpp/src/tests/amqp_0_10/Map.cpp
index 958470f6d7..0a58a2134a 100644
--- a/cpp/src/tests/amqp_0_10/Map.cpp
+++ b/cpp/src/tests/amqp_0_10/Map.cpp
@@ -88,6 +88,7 @@ BOOST_AUTO_TEST_CASE(testEncode) {
map["A"] = true;
map["b"] = Str8("hello");
Codec::encode(back_inserter(data))(map);
+ BOOST_CHECK_EQUAL(Codec::size(map), data.size());
Map map2;
Codec::decode(data.begin())(map2);
BOOST_CHECK_EQUAL(map.size(), 2u);