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
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ func TestSharding(t *testing.T) {
s.AddIntents(gateway.IntentGuilds)
s.AddHandler(readyCh)
s.AddHandler(func(err error) {
t.Error("unexpected error:", err)
t.Log(err)
})
},
))