From 75f1dd2f0bdf6b50a64c070b95c6a1e0e7dbef53 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 25 Sep 2023 08:18:41 +0200 Subject: [PATCH] [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 :cl: LT3 spellcheck: Improved wording in greyscale JSON error message /:cl: * Tweak greyscale JSON test error message --------- Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com> --- code/modules/unit_tests/greyscale_config.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/unit_tests/greyscale_config.dm b/code/modules/unit_tests/greyscale_config.dm index 9c5106be5b0..d3d9ce9d4fd 100644 --- a/code/modules/unit_tests/greyscale_config.dm +++ b/code/modules/unit_tests/greyscale_config.dm @@ -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].")