Tests: clean up whitespace in compareItems.

This commit is contained in:
Jonathan Puckey 2011-05-21 12:49:15 +02:00
parent d03dd05195
commit fd810e9804

View file

@ -127,7 +127,7 @@ function compareItems(item, item2) {
equals(function() { equals(function() {
return item.id != item2.id; return item.id != item2.id;
}, true); }, true);
if (item._matrix) { if (item._matrix) {
equals(function() { equals(function() {
return item._matrix != item2._matrix; return item._matrix != item2._matrix;
@ -155,21 +155,21 @@ function compareItems(item, item2) {
return item._clockwise == item2._clockwise; return item._clockwise == item2._clockwise;
}, true); }, true);
} }
// Group specific // Group specific
if (item instanceof Group) { if (item instanceof Group) {
equals(function() { equals(function() {
return item._clipped == item2._clipped; return item._clipped == item2._clipped;
}, true); }, true);
} }
// Layer specific // Layer specific
if (item instanceof Layer) { if (item instanceof Layer) {
equals(function() { equals(function() {
return item.project == item2.project; return item.project == item2.project;
}, true); }, true);
} }
// PlacedSymbol specific // PlacedSymbol specific
if (item instanceof PlacedSymbol) { if (item instanceof PlacedSymbol) {
equals(function() { equals(function() {