Skip to content

Commit 8562aee

Browse files
committed
check for nil before adding
1 parent 8cc33ea commit 8562aee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test-base/variables_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def test_variable_local
9191
send_ruby("frame 1; v local")
9292
variables = read_variables
9393
assert_variables(variables, 2)
94+
assert_not_nil variables[1].objectId
9495
send_ruby("v i " + variables[1].objectId) # 'user' variable
9596
assert_variables(read_variables, 1,
9697
{:name => "@id", :value => "22", :type => "Fixnum", :hasChildren => false})

0 commit comments

Comments
 (0)