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() {