1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Add testeditor to devtest for easier testing. (#15206)

* Add testeditor to devtest for easier testing.

Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
This commit is contained in:
sfence 2025-04-25 05:09:23 +02:00 committed by GitHub
parent 33ae1af79a
commit 0d414c44da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 283 additions and 1 deletions

View file

@ -111,7 +111,7 @@ void TestServerModManager::testGetMods()
auto sm = makeManager(m_worlddir);
const auto &mods = sm.getMods();
// `ls ./games/devtest/mods | wc -l` + 1 (test mod)
UASSERTEQ(std::size_t, mods.size(), 34 + 1);
UASSERTEQ(std::size_t, mods.size(), 35 + 1);
// Ensure we found basenodes mod (part of devtest)
// and test_mod (for testing MINETEST_MOD_PATH).