Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
Simplify struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Bockaj committed Apr 27, 2020
1 parent 8554084 commit f4e66ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lists_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ func TestHeartbeatIDList(t *testing.T) {

func TestVoteList(t *testing.T) {
initPending := []*memberlist.Node{
&memberlist.Node{Name: "1-One"},
&memberlist.Node{Name: "2-Two"},
{Name: "1-One"},
{Name: "2-Two"},
}

initPendingCopy := make([]*memberlist.Node, len(initPending))
Expand Down

0 comments on commit f4e66ec

Please sign in to comment.