Skip to content

Commit da9a3c1

Browse files
authored
Update utils.test.js
1 parent d7a4f4f commit da9a3c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/utils.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ describe('isSelfIntersecting', () => {
8282
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="1"/></way>', false, 'closed non-intersecting'],
8383
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="2"/></way>', true, 'open intersecting'],
8484
['<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="4"/><nd ref="3"/><nd ref="1"/></way>', true, 'closed intersecting'],
85-
])('${description}', (way, expected, description) => {
86-
let parser = new window.DOMParser();
87-
let xml = parser.parseFromString(way, 'text/xml').getElementsByTagName('way')[0];
88-
expect(BuildingShapeUtils.isSelfIntersecting(xml)).toBe(expected);
85+
])('${description}', (way, expected, description) => {
86+
let parser = new window.DOMParser();
87+
let xml = parser.parseFromString(way, 'text/xml').getElementsByTagName('way')[0];
88+
expect(BuildingShapeUtils.isSelfIntersecting(xml)).toBe(expected);
8989
});
9090
});

0 commit comments

Comments
 (0)