Skip to content

Commit

Permalink
shard: Fix test breaking on expected error
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed Nov 4, 2023
1 parent 87fd11a commit a70012b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session/shard/shard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
},
))
Expand Down

0 comments on commit a70012b

Please sign in to comment.