Skip to content

Commit fd9ba2a

Browse files
committed
testing
1 parent 3b505b0 commit fd9ba2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/dotfiles_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ func TestDotfiles(t *testing.T) {
4141

4242
c = exec.Command("git", "commit", "-m", `"add .bashrc"`)
4343
c.Dir = testRepo
44-
err = c.Run()
45-
assert.NoError(t, err)
44+
out, err := c.CombinedOutput()
45+
assert.NoError(t, err, string(out))
4646

4747
cmd, _ := clitest.New(t, "dotfiles", "--global-config", string(root), "--home-dir", string(root), "-y", testRepo)
4848
err = cmd.Execute()

0 commit comments

Comments
 (0)