mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-01 04:24:19 +00:00
shard: Fix test breaking on expected error
This commit is contained in:
parent
87fd11a68a
commit
a70012b289
|
@ -27,7 +27,7 @@ func TestSharding(t *testing.T) {
|
||||||
s.AddIntents(gateway.IntentGuilds)
|
s.AddIntents(gateway.IntentGuilds)
|
||||||
s.AddHandler(readyCh)
|
s.AddHandler(readyCh)
|
||||||
s.AddHandler(func(err error) {
|
s.AddHandler(func(err error) {
|
||||||
t.Error("unexpected error:", err)
|
t.Log(err)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue