mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Test XML decode
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
describe('XML', function() {
|
||||
describe('#decode', function() {
|
||||
it('decodes xml', function() {
|
||||
expect(iD.format.XML.decode('<">')).to.eql('<">');
|
||||
});
|
||||
});
|
||||
|
||||
describe('#rep', function() {
|
||||
it('converts a node to jxon', function() {
|
||||
expect(iD.format.XML.rep({ id: 'n-1', type: 'node', lat: 38, lon: -77 }))
|
||||
|
||||
Reference in New Issue
Block a user