Skip to content

Commit 9c0bed1

Browse files
authored
Update utils.test.js
1 parent 13257ce commit 9c0bed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/utils.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ test('Test joining 2 ways', () => {
5050
test('Test combining 2 ways 1->2', () => {
5151
var way1 = '<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/></way>';
5252
var way2 = '<way id="2"><nd ref="3"/><nd ref="4"/><nd ref="1"/></way>';
53-
var way3 = '<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/><nd ref="4"/><nd ref="1"/></way>';
53+
var way3 = '<way id="2"><nd ref="3"/><nd ref="4"/><nd ref="1"/><nd ref="2"/><nd ref="3"/></way>';
5454
let parser = new window.DOMParser();
5555
let xml1 = parser.parseFromString(way1, 'text/xml').getElementsByTagName('way')[0];
5656
let xml2 = parser.parseFromString(way2, 'text/xml').getElementsByTagName('way')[0];

0 commit comments

Comments
 (0)