mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
fix coordinate search with / symbol (#10879)
This commit is contained in:
@@ -28,7 +28,7 @@ describe('iD.units', function() {
|
||||
expect(result[2]).to.eql(2);
|
||||
});
|
||||
it('parses x/y coordinate', () => {
|
||||
var result = iD.dmsMatcher('-1.23/34.44');
|
||||
var result = iD.dmsMatcher('-1.23/34.44', 'de');
|
||||
expect(result[0]).to.be.closeTo(-1.23, 0.00001);
|
||||
expect(result[1]).to.be.closeTo(34.44, 0.00001);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user