We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13257ce commit 9c0bed1Copy full SHA for 9c0bed1
test/utils.test.js
@@ -50,7 +50,7 @@ test('Test joining 2 ways', () => {
50
test('Test combining 2 ways 1->2', () => {
51
var way1 = '<way id="1"><nd ref="1"/><nd ref="2"/><nd ref="3"/></way>';
52
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>';
+ var way3 = '<way id="2"><nd ref="3"/><nd ref="4"/><nd ref="1"/><nd ref="2"/><nd ref="3"/></way>';
54
let parser = new window.DOMParser();
55
let xml1 = parser.parseFromString(way1, 'text/xml').getElementsByTagName('way')[0];
56
let xml2 = parser.parseFromString(way2, 'text/xml').getElementsByTagName('way')[0];
0 commit comments