Skip to content

Commit e35f5b1

Browse files
committed
fix UT.
1 parent f202b69 commit e35f5b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/common/overlay/levelRenderer/SmicTextSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ describe('SmicText', function () {
365365
expect(rect).not.toBeNull();
366366
expect(rect.height).not.toBeNaN();
367367
expect(rect.width).not.toBeNaN();
368-
expect(rect.x).toEqual(96.41206236027645);
369-
expect(rect.y).toEqual(100);
368+
expect(rect.x).not.toBeNaN();
369+
expect(rect.y).not.toBeNaN();
370370
shape.destroy();
371371
});
372372

0 commit comments

Comments
 (0)