mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[MIRROR] Tweak greyscale JSON test error message [MDB IGNORE] (#23897)
* Tweak greyscale JSON test error message (#78469) ## About The Pull Request Slightly changes the wording of the greyscale JSON check error. The previous creates messages such as "Expected 1 but only found 3." which implies it isn't finding enough, which isn't always the case. ## Changelog 🆑 LT3 spellcheck: Improved wording in greyscale JSON error message /🆑 * Tweak greyscale JSON test error message --------- Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
co-authored by
lessthanthree
parent
f6779100fe
commit
75f1dd2f0b
@@ -38,4 +38,4 @@
|
||||
continue
|
||||
var/number_of_colors = length(colors) - 1
|
||||
if(config.expected_colors != number_of_colors)
|
||||
TEST_FAIL("[thing] has the wrong amount of colors configured for [config.DebugName()]. Expected [config.expected_colors] but only found [number_of_colors].")
|
||||
TEST_FAIL("[thing] has the wrong amount of colors configured for [config.DebugName()]. Expected [config.expected_colors] colors but found [number_of_colors].")
|
||||
|
||||
Reference in New Issue
Block a user