```ruby
class MyLib
  def test_negative_array_index
    #This should not cause an error, but it used to
    [][-1]
  end
end
```

Add another test for negative array index
user
```ruby
class MyLib
  def test_negative_array_index
    #This should not cause an error, but it used to
    [][-1]
    [-1][-1]
  end
end
```
assistant