Skip to content

Commit

Permalink
Group_test: enhance unit test ListTransitiveMembers error message
Browse files Browse the repository at this point in the history
  • Loading branch information
TerraTalpi committed Dec 14, 2021
1 parent 6d480b1 commit 8f88e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func TestGroup_ListTransitiveMembers(t *testing.T) {
return
}
if !tt.wantErr && len(got) == 0 {
t.Errorf("Group.ListTransitiveMembers() = %v, want at least one member of that group", got)
t.Errorf("Group.ListTransitiveMembers() = %v, len(%d), want at least one member of that group", got, len(got))
}
})
}
Expand Down

0 comments on commit 8f88e00

Please sign in to comment.