From aa71323e33fc00f0049eeaae2ebc3040762071c3 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 22 Jun 2021 14:42:16 +0200 Subject: Fix building mametest --- tests/lib/util/options.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'tests') 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); } -- cgit v1.2.3-70-g09d2