Update Locus test after extensions fix in server

see https://github.com/abrensch/brouter/pull/422
This commit is contained in:
Norbert Renner 2022-05-13 18:39:31 +02:00
parent e5ea9173ae
commit bec7017dbb
2 changed files with 5 additions and 4 deletions

View file

@ -59,7 +59,6 @@ test('waypoints', () => {
describe('voice hints', () => {
test('2-locus', () => {
let brouterGpx = BR.Xml.pretty(read('2-locus.gpx'));
brouterGpx = brouterGpx.replace(/\n\s*<\/extensions>\n\s*<extensions>/, ''); // ignore (invalid) double tag
// ignore float rounding differences
brouterGpx = brouterGpx.replace(
/:(rteTime|rteSpeed)>([\d.]*)<\//g,