]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2302] Check map data
authorMukund Sivaraman <muks@isc.org>
Wed, 10 Oct 2012 14:04:44 +0000 (19:34 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 10 Oct 2012 14:04:44 +0000 (19:34 +0530)
src/lib/cc/tests/data_unittests.cc

index d66e24b3d4b8f8f8095ffd95d8f76780db214f1c..8794d6c735aa12cf1c7336d2465e851ee88bfc23 100644 (file)
@@ -331,6 +331,7 @@ testGetValueMap() {
     EXPECT_FALSE(el->getValue(s));
     EXPECT_FALSE(el->getValue(v));
     EXPECT_TRUE(el->getValue(m));
+    EXPECT_EQ("{  }", el->str());
 }
 
 TEST(Element, create_and_value_throws) {