We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 379916d commit d3fb1e4Copy full SHA for d3fb1e4
1 file changed
ringchan_test.go
@@ -33,6 +33,9 @@ func TestRingChanBasic(t *testing.T) {
33
if len(got) != len(want) {
34
t.Fatalf("expected %v values, got %v", len(want), len(got))
35
}
36
+ if rc.Dropped != 2 {
37
+ t.Fatalf("expected %d values to be dropped, got %d", 2, rc.Dropped)
38
+ }
39
for i := range want {
40
if got[i] != want[i] {
41
t.Errorf("expected %v at index %d, got %v", want[i], i, got[i])
0 commit comments