mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
Fix another unit test bug.
This commit is contained in:
parent
5b662b3c76
commit
a28914928d
@ -71,6 +71,7 @@ BOOST_AUTO_TEST_CASE(unnamed)
|
|||||||
dictionary->Add("test2");
|
dictionary->Add("test2");
|
||||||
dictionary->Add("test3");
|
dictionary->Add("test3");
|
||||||
|
|
||||||
|
ObjectLock olock(dictionary);
|
||||||
BOOST_CHECK(distance(dictionary->Begin(), dictionary->End()) == 3);
|
BOOST_CHECK(distance(dictionary->Begin(), dictionary->End()) == 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user