- fix arraylist test

This commit is contained in:
yuanjin 2020-01-13 17:12:56 +08:00
parent 3ba27e24d3
commit edc20eca0a

View File

@ -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")
}
}