Also compare Item#data in compareItems test helper.

This commit is contained in:
Jonathan Puckey 2013-03-17 16:15:58 +01:00
parent 1732c2cbb2
commit a535c106a8

View file

@ -268,6 +268,10 @@ function compareItems(item, item2, cloned, checkIdentity, dontShareProject) {
equals(item.position.toString(), item2.position.toString(),
'Compare Item#position');
equals(function() {
return Base.equals(item.data, item2.data)
}, true);
if (item.matrix) {
if (checkIdentity) {
equals(function() {