forked from Mirrorlandia_minetest/minetest
Improve testListMods
This commit is contained in:
parent
408af9d17d
commit
9dbac989bd
@ -262,6 +262,7 @@ void TestModMetadataDatabase::testListMods()
|
||||
{
|
||||
ModMetadataDatabase *mod_meta_db = mod_meta_provider->getModMetadataDatabase();
|
||||
UASSERT(mod_meta_db->setModEntry("mod2", "key1", "value1"));
|
||||
UASSERT(mod_meta_db->setModEntry("mod2", "key2", "value1"));
|
||||
std::vector<std::string> mod_list;
|
||||
mod_meta_db->listMods(&mod_list);
|
||||
UASSERTCMP(size_t, ==, mod_list.size(), 2);
|
||||
|
Loading…
Reference in New Issue
Block a user