Skip to content

Commit 94147a4

Browse files
committed
fix UT
1 parent 55bd7da commit 94147a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/common/commontypes/geometry/LinearRingSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('common_LinearRing Test', function () {
1414
expect(linearRing.components[0].id).toEqual(linearRing.components[5].id);
1515
for (var i = 0; i < linearRing.components.length; i++) {
1616
expect(linearRing.components[i].CLASS_NAME).toEqual("SuperMap.Geometry.Point");
17-
expect(linearRing.components[i].type).toEqual("NONE");
17+
expect(linearRing.components[i].type).toEqual("Point");
1818
}
1919
//获得当前几何对象区域大小,如果是沿顺时针方向的环则是正值,否则为负值
2020
var area = linearRing.getArea();

0 commit comments

Comments
 (0)