[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:
SkyratBot
2023-09-24 23:18:41 -07:00
committed by GitHub
co-authored by lessthanthree
parent f6779100fe
commit 75f1dd2f0b
+1 -1
View File
@@ -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].")