提交 a87be61c 编写于 作者: J Justin Collins

Add test for negative index in empty array

上级 f2d9bd89
class MyLib
def test_negative_array_index
#This should not cause an error, but it used to
[][-1]
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册