Skip to content

Commit

Permalink
Should fail if there are no dialers
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Fisk committed Nov 14, 2024
1 parent f7dc35f commit 4979892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dialer/bandit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ func TestNewBandit(t *testing.T) {
wantErr bool
}{
{
name: "should still succeed even if there are no dialers",
name: "should fail if there are no dialers",
opts: &Options{
Dialers: nil,
},
want: nil,
wantErr: false,
wantErr: true,
},
{
name: "should return a BanditDialer if there's only one dialer",
Expand Down

0 comments on commit 4979892

Please sign in to comment.