Bump api_version to 3 in car.lua

This commit is contained in:
Michael Krasnyk
2017-09-21 15:18:11 +02:00
parent a7c1967ca0
commit fec2b602a2
4 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ Feature: osrm-extract lua ways:get_nodes()
"""
functions = require('testbot')
function way_function(profile, way, result, location_data)
function way_function(profile, way, result, relations, location_data)
assert(location_data)
for k, v in pairs(location_data) do print (k .. ' ' .. tostring(v)) end
result.forward_mode = mode.driving
@@ -83,7 +83,7 @@ Feature: osrm-extract lua ways:get_nodes()
"""
functions = require('testbot')
function way_function(profile, way, result, location_data)
function way_function(profile, way, result, relations, location_data)
assert(location_data)
print('ISO3166-1 ' .. (location_data['ISO3166-1'] or 'none'))
result.forward_mode = mode.driving