mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
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…
x
Reference in New Issue
Block a user