switch to 0 based indexing
the world rocked for a moment (and more fixes to follow) also the crumbling of idealism was heard
This commit is contained in:
@ -18,7 +18,7 @@ module Parfait
|
||||
assert_equal 2 , @code.get_instance_variables.get_length
|
||||
end
|
||||
def test_var_next
|
||||
assert_equal :next , @code.get_instance_variables[2]
|
||||
assert_equal :next , @code.get_instance_variables[1]
|
||||
end
|
||||
def test_next_nil
|
||||
assert_nil @code.next
|
||||
|
Reference in New Issue
Block a user