From a535c106a8f049538fdf0987925fb75039c0c88b Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Sun, 17 Mar 2013 16:15:58 +0100 Subject: [PATCH] Also compare Item#data in compareItems test helper. --- test/lib/helpers.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/lib/helpers.js b/test/lib/helpers.js index 4e00020a..f0f1f865 100644 --- a/test/lib/helpers.js +++ b/test/lib/helpers.js @@ -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() {