We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
assert.NoErrorf()
1 parent b166327 commit f03e7ffCopy full SHA for f03e7ff
1 file changed
git_sizer_test.go
@@ -21,9 +21,7 @@ import (
21
func TestExec(t *testing.T) {
22
cmd := exec.Command("bin/git-sizer")
23
output, err := cmd.CombinedOutput()
24
- if err != nil {
25
- t.Errorf("command failed (%s); output: %#v", err, string(output))
26
- }
+ assert.NoErrorf(t, err, "command failed; output: %#v", string(output))
27
}
28
29
func gitCommand(t *testing.T, repo *git.Repository, args ...string) *exec.Cmd {
0 commit comments