Fix text test.

This commit is contained in:
kangax 2012-12-04 12:03:16 +01:00
parent b330c9d715
commit 801fd3fb4d

View file

@ -175,7 +175,8 @@
ok(textWithAttrs instanceof fabric.Text);
var expectedObject = fabric.util.object.extend(REFERENCE_TEXT_OBJECT, {
left: 12.5,
/* left varies slightly due to node-canvas rendering so we're not testing for it */
left: textWithAttrs.left,
top: -59.95,
width: 20,
height: 159.9,