Skip to content

Commit 21ab971

Browse files
authored
Merge pull request #119 from alancutter/fixColorTest
Update color handler test
2 parents 40bb3dd + a9b7235 commit 21ab971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/js/color-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ suite('color-handler', function() {
1111
test('invalid colors fail to parse', function() {
1212
assert.isUndefined(parseColor(''));
1313
assert.isUndefined(parseColor('bananayellow'));
14-
assert.isUndefined(parseColor('rgb(10, 20, 30, 40)'));
14+
assert.isUndefined(parseColor('rgb(10, 20, 30, 40, 50)'));
1515
});
1616
test('color interpolation', function() {
1717
assert.equal(webAnimations1.propertyInterpolation('color', '#00aa11', '#aa00bb')(0.2), 'rgba(34,136,51,1)');

0 commit comments

Comments
 (0)