enable testing of way names, including ways with empty or missing name tags
This commit is contained in:
@@ -62,7 +62,7 @@ end
|
||||
|
||||
def way_list instructions
|
||||
instructions.
|
||||
#reject { |i| i[2]<=1 }. #FIXME temporary hack to ignore instructions with length==0
|
||||
map { |r| r[1] }.
|
||||
reject(&:empty?).join(',')
|
||||
map { |r| r=="" ? '""' : r }.
|
||||
join(',')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user