/
Lachklen
/
MYtgstation
Обзор
Документация
Войти
/
Lachklen
/
MYtgstation
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
code/modules/unit_tests/modular_map_loader.dm
10 строк
471 B
Tastyfish
Makes integration test results be in color and have annotations (#66649)
04 май 2022, 04:19
Не верифицирован
04 май 2022, 04:19
bca4633
Код
Авторство
О чём код?
/datum/unit_test/modular_map_loader /datum/unit_test/modular_map_loader/Run() for (var/obj/modular_map_root/map_root_type as anything in subtypesof(/obj/modular_map_root)) var/config_file = initial(map_root_type.config_file) if (!fexists(config_file)) TEST_FAIL("[map_root_type] points to a config file which does not exist!") continue if (rustg_read_toml_file(config_file) == null) TEST_FAIL("[map_root_type] points to a config file which is invalid!")