1
0
Fork 0
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:
diamondburned 2023-11-04 02:35:17 -07:00
parent 87fd11a68a
commit a70012b289
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -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)
}) })
}, },
)) ))