Skip to content

Commit

Permalink
Merge pull request #781 from Abirdcfly/next
Browse files Browse the repository at this point in the history
delete minor unreachable code caused by t.Fatal
  • Loading branch information
or-else authored Aug 8, 2022
2 parents 30fef60 + dcf3746 commit 636e185
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/topic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ func (h *Hub) testHubLoop(t *testing.T, results map[string][]*ServerComMessage,
for msg := range h.routeSrv {
if msg.RcptTo == "" {
t.Fatal("Hub.route received a message without addressee.")
break
}
results[msg.RcptTo] = append(results[msg.RcptTo], msg)
}
Expand Down

0 comments on commit 636e185

Please sign in to comment.