From bb5e7561eda81cd576667f2e565a58564723e155 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 9 Apr 2014 11:40:17 +0200 Subject: [PATCH] Fix unit tests. Refs #5986 --- test/base-dictionary.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/base-dictionary.cpp b/test/base-dictionary.cpp index 2d07c0f1a..81d754612 100644 --- a/test/base-dictionary.cpp +++ b/test/base-dictionary.cpp @@ -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); -- 2.40.0