mirror of
https://github.com/emirpasic/gods
synced 2024-11-16 12:12:59 +00:00
- fix arraylist test
This commit is contained in:
parent
3ba27e24d3
commit
edc20eca0a
@ -125,7 +125,7 @@ func TestListSwap(t *testing.T) {
|
||||
list.Add("b", "c")
|
||||
list.Swap(0, 1)
|
||||
if actualValue, ok := list.Get(0); actualValue != "b" || !ok {
|
||||
t.Errorf("Got %v expected %v", actualValue, "c")
|
||||
t.Errorf("Got %v expected %v", actualValue, "b")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user