mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Tests: fix comparing of GradientColor#hilite.
This commit is contained in:
parent
35d71e9e33
commit
a2e3759fb8
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ function compareGradientColors(gradientColor, gradientColor2, checkIdentity) {
|
||||||
return gradientColor[key] !== gradientColor2[key];
|
return gradientColor[key] !== gradientColor2[key];
|
||||||
}, true, 'Strict compare GradientColor#' + key);
|
}, true, 'Strict compare GradientColor#' + key);
|
||||||
}
|
}
|
||||||
equals(gradientColor[key].toString(), gradientColor2[key].toString(),
|
equals(gradientColor[key] && gradientColor[key].toString(), gradientColor2[key] && gradientColor2[key].toString(),
|
||||||
'Compare GradientColor#' + key);
|
'Compare GradientColor#' + key);
|
||||||
});
|
});
|
||||||
equals(function() {
|
equals(function() {
|
||||||
|
|
Loading…
Reference in a new issue