You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add utilFetchJson to get around some quirks of d3.json and use it for coreFileFetcher
Load real general English locale strings at the beginning of code tests
expect(iD.utilDisplayName({tags: {network: 'VTA',ref: 'Green',from: 'Old Ironsides',to: 'Winchester',route: 'bus'}})).to.eql('VTA Green from Old Ironsides to Winchester');
expect(iD.utilDisplayName({tags: {network: 'BART',ref: 'Yellow',from: 'Antioch',to: 'Millbrae',via: 'Pittsburg/Bay Point;San Francisco International Airport',route: 'subway'}})).to.eql('BART Yellow from Antioch to Millbrae via Pittsburg/Bay Point;San Francisco International Airport');
270
-
done();
271
-
});
233
+
it('distinguishes unnamed features by ref',function(){
expect(iD.utilDisplayName({tags: {network: 'VTA',ref: 'Green',from: 'Old Ironsides',to: 'Winchester',route: 'bus'}})).to.eql('VTA Green from Old Ironsides to Winchester');
expect(iD.utilDisplayName({tags: {network: 'BART',ref: 'Yellow',from: 'Antioch',to: 'Millbrae',via: 'Pittsburg/Bay Point;San Francisco International Airport',route: 'subway'}})).to.eql('BART Yellow from Antioch to Millbrae via Pittsburg/Bay Point;San Francisco International Airport');
0 commit comments