From 585fcdfd3d42092424f6287bcc9f171207e417c5 Mon Sep 17 00:00:00 2001 From: MoyuScript Date: Sun, 4 Mar 2012 17:30:01 +0000 Subject: [PATCH] "tests: small bugfix" --- tests/qunit/unit/css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qunit/unit/css.js b/tests/qunit/unit/css.js index cebfb00..96956c7 100644 --- a/tests/qunit/unit/css.js +++ b/tests/qunit/unit/css.js @@ -180,7 +180,7 @@ $(function() { overallColor += (red + green + blue) / 3; } - overallColor /= len; + overallColor /= (len / 4); QUnit.notEqual(overallColor, 255, 'No Background Gradient - CSS was ' + src); });