Skip to content

Commit

Permalink
remove if
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed Oct 2, 2024
1 parent d21b97a commit 40c78a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions go/vt/vtctl/reparentutil/planned_reparenter_flaky_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3395,9 +3395,7 @@ func TestPlannedReparenter_reparentShardLocked(t *testing.T) {
err := pr.reparentShardLocked(ctx, tt.ev, tt.keyspace, tt.shard, tt.opts)
if tt.shouldErr {
assert.Error(t, err)
if tt.errShouldContain != "" {
assert.ErrorContains(t, err, tt.errShouldContain)
}
assert.ErrorContains(t, err, tt.errShouldContain)
return
}

Expand Down

0 comments on commit 40c78a2

Please sign in to comment.