Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Fix closet icon test output #1151

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions code/unit_tests/closets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@
)
var/fail_msg = "Insane closet appearances found: "
if(LAZYLEN(bad_singleton))
fail_msg += "\nSingleton did not add itself to appropriate global list:\n[jointext("\t[bad_icon]", "\n")]."
fail_msg += "\nSingleton did not add itself to appropriate global list:\n\t[jointext(bad_icon, "\n\t")]."
if(LAZYLEN(bad_icon))
fail_msg += "\nNull final icon values:\n[jointext("\t[bad_icon]", "\n")]."
fail_msg += "\nNull final icon values:\n\t[jointext(bad_icon, "\n\t")]."
if(LAZYLEN(bad_colour))
fail_msg += "\nNull color values:\n[jointext("\t[bad_colour]", "\n")]."
fail_msg += "\nNull color values:\n\t[jointext(bad_colour, "\n\t")]."
if(LAZYLEN(bad_base_icon))
fail_msg += "\nNull base icon value:\n[jointext("\t[bad_base_icon]", "\n")]."
fail_msg += "\nNull base icon value:\n\t[jointext(bad_base_icon, "\n\t")]."
if(LAZYLEN(bad_base_state))
fail_msg += "\nMissing state from base icon:\n[jointext("\t[bad_base_state]", "\n")]."
fail_msg += "\nMissing state from base icon:\n\t[jointext(bad_base_state, "\n\t")]."
if(LAZYLEN(bad_decal_icon))
fail_msg += "\nDecal icon not set but decal lists populated:\n[jointext("\t[bad_decal_icon]", "\n")]."
fail_msg += "\nDecal icon not set but decal lists populated:\n\t[jointext(bad_decal_icon, "\n\t")]."
if(LAZYLEN(bad_decal_colour))
fail_msg += "\nNull color in final decal entry:\n[jointext("\t[bad_decal_colour]", "\n")]."
fail_msg += "\nNull color in final decal entry:\n\t[jointext(bad_decal_colour, "\n\t")]."
if(LAZYLEN(bad_decal_state))
fail_msg += "\nNon-existent decal icon state:\n[jointext("\t[bad_decal_state]", "\n")]."
fail_msg += "\nNon-existent decal icon state:\n\t[jointext(bad_decal_state, "\n\t")]."

fail(fail_msg)
else
Expand Down