Skip to content

Commit

Permalink
Fix 测试用例错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Quan committed Feb 21, 2021
1 parent a1269b1 commit 6f5e545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion list/linked_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,6 @@ func Test_itrLinkedList(t *testing.T) {
assert.Equal(t, errs.IndexOutOfBound, err)
err = linkedList.Remove()
assert.Equal(t, errs.IllegalState, err)
assert.Equal(t, []collection.Element{1, 2, 3}, linkedToSlice(list))
assert.Equal(t, []collection.Element{}, linkedToSlice(list))

}

0 comments on commit 6f5e545

Please sign in to comment.