Improve comparePathStyles test helper.

This commit is contained in:
Jonathan Puckey 2013-03-17 15:20:14 +01:00
parent 1cfe34089a
commit 35d71e9e33

View file

@ -148,7 +148,7 @@ function comparePathStyles(style, style2, checkIdentity) {
} }
compareGradientColors(style[key], style2[key], checkIdentity); compareGradientColors(style[key], style2[key], checkIdentity);
} else { } else {
equals(style[key].toString(), style2[key].toString(), equals(style[key] && style[key].toString(), style2[key] && style2[key].toString(),
'Compare PathStyle#' + key); 'Compare PathStyle#' + key);
} }
} }