Skip to content

Commit

Permalink
Update healthmanager/subscription_manager_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Sirotin <[email protected]>
  • Loading branch information
friofry and igor-sirotin authored Dec 2, 2024
1 parent 60964ab commit ccf8658
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions healthmanager/subscription_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ func TestSubscriptionManager(t *testing.T) {

// Verify that all subscribers received the notification
for i, received := range notificationReceived {
if !received {
t.Errorf("Subscriber %d did not receive notification", i)
}
require.Truef(t, received, "Subscriber %d did not receive notification", i)
}

// Test unsubscribing a subscriber
Expand Down

0 comments on commit ccf8658

Please sign in to comment.