diff --git a/test/lib/helpers.js b/test/lib/helpers.js index 572e0ab4..24a4db75 100644 --- a/test/lib/helpers.js +++ b/test/lib/helpers.js @@ -311,9 +311,15 @@ function compareItems(item, item2, cloned, checkIdentity, dontShareProject) { // PlacedSymbol specific if (item instanceof PlacedSymbol) { - equals(function() { - return item.symbol == item2.symbol; - }, true); + if (dontShareProject) { + compareItems(item.symbol.definition, item.symbol2.definition, + cloned, checkIdentity, dontShareProject, + 'Compare Symbol#definition'); + } else { + equals(function() { + return item.symbol == item2.symbol; + }, true); + } } // Raster specific