File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
@routing @testbot @nil
2
- Feature : Testbot - Check assigning nil values
3
- Scenario : Assign nil values to all way strings
2
+ Feature : Testbot - Check assigning empty values
3
+ Scenario : Assign empty values to all way strings
4
4
Given the profile file
5
5
"""
6
6
functions = require('testbot')
7
7
8
8
function way_function(profile, way, result)
9
- result.name = nil
10
- result.ref = nil
11
- result.destinations = nil
12
- result.exits = nil
13
- result.pronunciation = nil
14
- result.turn_lanes_forward = nil
15
- result.turn_lanes_backward = nil
9
+ result.name = ""
10
+ result.ref = ""
11
+ result.destinations = ""
12
+ result.exits = ""
13
+ result.pronunciation = ""
14
+ result.turn_lanes_forward = ""
15
+ result.turn_lanes_backward = ""
16
16
17
17
result.forward_speed = 10
18
18
result.backward_speed = 10
You can’t perform that action at this time.
0 commit comments