diff options
author | 2021-06-22 14:42:16 +0200 | |
---|---|---|
committer | 2021-06-22 14:42:16 +0200 | |
commit | aa71323e33fc00f0049eeaae2ebc3040762071c3 (patch) | |
tree | 0b4c35cf04d580fbb995b3e2935a3025259fc403 /tests | |
parent | 0d57290b583603bcfbb21e03093ed76dbbe7efaa (diff) |
Fix building mametest
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/util/options.cpp | 10 |
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); } |