From 5ade60218335ae5375786d7dba321f6659e13ee8 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 12 Jan 2018 14:55:48 +0100 Subject: [PATCH] Remove 'rgb(255.0,0,0)' from the invalid color list `rgb(255.0,0,0)` is a valid color value --- test/spec/ol/color.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/ol/color.test.js b/test/spec/ol/color.test.js index 83b45acc07..b230e289ad 100644 --- a/test/spec/ol/color.test.js +++ b/test/spec/ol/color.test.js @@ -121,7 +121,7 @@ describe('ol.color', function() { }); it('throws an error on invalid colors', function() { - const invalidColors = ['tuesday', '#12345', '#1234567', 'rgb(255.0,0,0)']; + const invalidColors = ['tuesday', '#12345', '#1234567']; let i, ii; for (i = 0, ii = invalidColors.length; i < ii; ++i) { expect(function() {