Fix unit tests.

Refs #5986
This commit is contained in:
Gunnar Beutner 2014-04-09 11:40:17 +02:00
parent ec7c90d5d7
commit bb5e7561ed
1 changed files with 5 additions and 0 deletions

View File

@ -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);