mirror of https://github.com/Icinga/icinga2.git
parent
ec7c90d5d7
commit
bb5e7561ed
|
@ -116,6 +116,11 @@ BOOST_AUTO_TEST_CASE(remove)
|
|||
|
||||
dictionary->Set("test1", Empty);
|
||||
|
||||
BOOST_CHECK(dictionary->Contains("test1"));
|
||||
BOOST_CHECK(dictionary->GetLength() == 2);
|
||||
|
||||
dictionary->Remove("test1");
|
||||
|
||||
BOOST_CHECK(!dictionary->Contains("test1"));
|
||||
BOOST_CHECK(dictionary->GetLength() == 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue