Skip to content

Commit

Permalink
Fix feature test - amenity=shelter no longer matches building rule
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Jun 18, 2018
1 parent 723155e commit 7de54a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/spec/renderer/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ describe('iD.Features', function() {
iD.Way({id: 'building_yes', tags: {area: 'yes', amenity: 'school', building: 'yes'}, version: 1}),
iD.Way({id: 'building_no', tags: {area: 'yes', amenity: 'school', building: 'no'}, version: 1}),
iD.Way({id: 'building_part', tags: { 'building:part': 'yes'}, version: 1}),
iD.Way({id: 'shelter', tags: {area: 'yes', amenity: 'shelter'}, version: 1}),
iD.Way({id: 'garage1', tags: {area: 'yes', amenity: 'parking', parking: 'multi-storey'}, version: 1}),
iD.Way({id: 'garage2', tags: {area: 'yes', amenity: 'parking', parking: 'sheds'}, version: 1}),
iD.Way({id: 'garage3', tags: {area: 'yes', amenity: 'parking', parking: 'carports'}, version: 1}),
Expand Down Expand Up @@ -301,7 +300,7 @@ describe('iD.Features', function() {
features.gatherStats(all, graph, dimensions);

doMatch([
'building_yes', 'building_part', 'shelter',
'building_yes', 'building_part',
'garage1', 'garage2', 'garage3', 'garage4'
]);

Expand Down

0 comments on commit 7de54a3

Please sign in to comment.