X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FComponent%2FUtility%2FColorTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FTests%2FComponent%2FUtility%2FColorTest.php;h=02a4ed5f15b14d86f203afef9eb3979f87b60f8e;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=10664ffc66df81122dcc1d8cc0a08b0b16f235f3;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/tests/Drupal/Tests/Component/Utility/ColorTest.php b/web/core/tests/Drupal/Tests/Component/Utility/ColorTest.php index 10664ffc6..02a4ed5f1 100644 --- a/web/core/tests/Drupal/Tests/Component/Utility/ColorTest.php +++ b/web/core/tests/Drupal/Tests/Component/Utility/ColorTest.php @@ -61,7 +61,7 @@ class ColorTest extends TestCase { // Add invalid data types (hex value must be a string). foreach ([ 1, 12, 1234, 12345, 123456, 1234567, 12345678, 123456789, 123456789, - -1, PHP_INT_MAX, PHP_INT_MAX + 1, -PHP_INT_MAX, 0x0, 0x010 + -1, PHP_INT_MAX, PHP_INT_MAX + 1, -PHP_INT_MAX, 0x0, 0x010, ] as $value) { $invalid[] = [$value, '', TRUE]; }