summaryrefslogtreecommitdiffstatshomepage
path: root/tests/lib/util/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/util/options.cpp')
-rw-r--r--tests/lib/util/options.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/lib/util/options.cpp b/tests/lib/util/options.cpp
index e971a564521..6c4dafc9725 100644
--- a/tests/lib/util/options.cpp
+++ b/tests/lib/util/options.cpp
@@ -2,14 +2,8 @@
#include "options.h"
-TEST_CASE("Empty options should return first as nullptr", "[util]")
+TEST_CASE("Empty options should return size of zero", "[util]")
{
core_options options;
- REQUIRE(options.first() == nullptr);
-}
-
-TEST_CASE("Empty options should have iterators same", "[util]")
-{
- core_options options;
- REQUIRE(options.begin() == options.end());
+ REQUIRE(options.entries().size() == 0);
}