Changed nil test to empty test
This commit is contained in:
parent
ca68518763
commit
b1646622e6
@ -1,18 +1,18 @@
|
|||||||
@routing @testbot @nil
|
@routing @testbot @nil
|
||||||
Feature: Testbot - Check assigning nil values
|
Feature: Testbot - Check assigning empty values
|
||||||
Scenario: Assign nil values to all way strings
|
Scenario: Assign empty values to all way strings
|
||||||
Given the profile file
|
Given the profile file
|
||||||
"""
|
"""
|
||||||
functions = require('testbot')
|
functions = require('testbot')
|
||||||
|
|
||||||
function way_function(profile, way, result)
|
function way_function(profile, way, result)
|
||||||
result.name = nil
|
result.name = ""
|
||||||
result.ref = nil
|
result.ref = ""
|
||||||
result.destinations = nil
|
result.destinations = ""
|
||||||
result.exits = nil
|
result.exits = ""
|
||||||
result.pronunciation = nil
|
result.pronunciation = ""
|
||||||
result.turn_lanes_forward = nil
|
result.turn_lanes_forward = ""
|
||||||
result.turn_lanes_backward = nil
|
result.turn_lanes_backward = ""
|
||||||
|
|
||||||
result.forward_speed = 10
|
result.forward_speed = 10
|
||||||
result.backward_speed = 10
|
result.backward_speed = 10
|
||||||
|
Loading…
Reference in New Issue
Block a user