Skip to content

Commit 89e2b0b

Browse files
authored
Update combine_ways.test.js
1 parent 176a035 commit 89e2b0b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/combine_ways.test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ describe.each([
8888
'<way id="2"><nd ref="3"/><nd ref="4"/><nd ref="2"/><nd ref="5"/><nd ref="1"/></way>',
8989
], 0, 0, 'Closed way is self intersecting',
9090
],
91+
[
92+
[
93+
'<way id="1"><nd ref="1"/><nd ref="2"/></way>',
94+
'<way id="2"><nd ref="2"/><nd ref="3"/><nd ref="4"/><nd ref="5"/><nd ref="3"/><nd ref="1"/></way>',
95+
], 0, 0, 'Open way is self intersecting',
96+
],
9197
])('Combine Ways', (ways, length, nodes, description) => {
9298
test(`${description}`, () => {
9399
let parser = new window.DOMParser();

0 commit comments

Comments
 (0)