diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-05 19:11:45 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-05 19:11:45 +0100 |
commit | 306b167b46bf500f710855e503b335e22ab99497 (patch) | |
tree | 23d478dc4061d3033c4e7ebda689187e414c21eb /spec | |
parent | 2f8d32a1f4fbe51c4e6ac381d5d663d8f11fc1f9 (diff) | |
download | svg.js-306b167b46bf500f710855e503b335e22ab99497.tar.gz svg.js-306b167b46bf500f710855e503b335e22ab99497.zip |
make one test pass in travis
Diffstat (limited to 'spec')
-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) }) }) |