Skip to content

Commit

Permalink
Prefer require.NoError
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Dougherty <[email protected]>
  • Loading branch information
brendar committed Jul 9, 2024
1 parent 570a358 commit 1fadc8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/test/endtoend/vtcombo/vttest_sample_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func assertVSchemaExists(t *testing.T, grpcAddress string) {
log.Infof("Running vtctldclient with command: %v", tmpCmd.Args)

output, err := tmpCmd.CombinedOutput()
require.Nil(t, err, fmt.Sprintf("Output:\n%v", string(output)))
require.NoError(t, err, fmt.Sprintf("Output:\n%v", string(output)))

assert.Equal(t, "{}\n", string(output))
}
Expand Down

0 comments on commit 1fadc8c

Please sign in to comment.