remove NO-BREAK SPACE (U+00A0) that broke testing
This commit is contained in:
parent
1f97c5518e
commit
a4306cddef
@ -2,12 +2,12 @@ When(/^I run "osrm\-routed\s?(.*?)"$/) do |options|
|
|||||||
Dir.chdir TEST_FOLDER do
|
Dir.chdir TEST_FOLDER do
|
||||||
if options.include? '{base}'
|
if options.include? '{base}'
|
||||||
# expand {base} to base path of preprocessed data file
|
# expand {base} to base path of preprocessed data file
|
||||||
raise "*** Cannot expand {base} without a preprocessed file." unless @osm_file
|
raise "*** Cannot expand {base} without a preprocessed file." unless @osm_file
|
||||||
options_expanded = options.gsub "{base}", "#{@osm_file}"
|
options_expanded = options.gsub "{base}", "#{@osm_file}"
|
||||||
else
|
else
|
||||||
options_expanded = options
|
options_expanded = options
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Timeout.timeout(1) do
|
Timeout.timeout(1) do
|
||||||
@stdout = `#{BIN_PATH}/osrm-routed #{options_expanded} 2>error.log`
|
@stdout = `#{BIN_PATH}/osrm-routed #{options_expanded} 2>error.log`
|
||||||
|
Loading…
Reference in New Issue
Block a user