Skip to content

Commit 4d57e7d

Browse files
authored
Update combine_ways.test.js
1 parent 5f759d6 commit 4d57e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/combine_ways.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ test.each()('Test combining 4 ways', (ways, length, nodes) => {
9797
var way4 = '<way id="4"><nd ref="2"/><nd ref="3"/></way>';
9898
let parser = new window.DOMParser();
9999
xml = [];
100-
for (const way on ways){
100+
for (const way of ways){
101101
xml.push(parser.parseFromString(way, 'text/xml').getElementsByTagName('way')[0]);
102102
let result = BuildingShapeUtils.combineWays(xml);
103103
expect(result.length).toBe(length);

0 commit comments

Comments
 (0)