Fix comparing of Raster#ppi in compareItems test helper.

This commit is contained in:
Jonathan Puckey 2013-03-18 00:17:57 +01:00
parent a87c9e9a7f
commit b22dc173ed

View file

@ -338,7 +338,10 @@ function compareItems(item, item2, cloned, checkIdentity, dontShareProject) {
'Compare Raster#size');
compareNumbers(item.width, item2.width, 'Compare Raster#width');
compareNumbers(item.height, item2.height, 'Compare Raster#height');
compareNumbers(item.ppi, item2.ppi, 'Compare Raster#ppi');
equals(item.ppi.toString(), item2.ppi.toString(),
'Compare Raster#ppi');
equals(item.source, item2.source, 'Compare Raster#source');
if (checkIdentity) {
equals(item.image, item2.image, 'Compare Raster#image');