Skip to content

Commit

Permalink
Update kafka_helpers_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 authored Oct 29, 2024
1 parent ba74bbb commit aeeb7ab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/kafka/kafka_helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ func TestValidateKRaftVersion(t *testing.T) {

if test.wantErr {
require.Errorf(t, err, "expected error, got nil")
}

if !test.wantErr {
} else {
require.NoErrorf(t, err, "expected no error, got %s", err)
}
})
Expand Down

0 comments on commit aeeb7ab

Please sign in to comment.