diff options
Diffstat (limited to 'spec/spec/text.js')
-rw-r--r-- | spec/spec/text.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec/text.js b/spec/spec/text.js index cd5dba1..b5d0b59 100644 --- a/spec/spec/text.js +++ b/spec/spec/text.js @@ -129,7 +129,7 @@ describe('Text', function() { text.center(321, 567) var box = text.bbox() expect(+text.node.getAttribute('x') + box.width / 2).toBeCloseTo(321, 1) - expect(text.y() + box.height / 2).toBeCloseTo(567) + expect(text.y() + box.height / 2).toBeCloseTo(567, 0) }) }) |