Skip to content

Commit

Permalink
Merge pull request gruntwork-io#673 from bernardoVale/fix-run-cmd-tests
Browse files Browse the repository at this point in the history
Fix broken test introduced on PR gruntwork-io#670
  • Loading branch information
brikis98 authored Mar 8, 2019
2 parents 31d47cf + fa733f3 commit bf8f423
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shell/run_shell_cmd_output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ package shell

import (
"bytes"
"github.com/stretchr/testify/require"
"strings"
"sync"
"testing"

"github.com/stretchr/testify/require"

"github.com/gruntwork-io/terragrunt/options"
"github.com/stretchr/testify/assert"
)
Expand All @@ -26,7 +27,7 @@ func TestCommandOutputOrder(t *testing.T) {
terragruntOptions.ErrWriter = &allOutputBuffer

terragruntOptions.TerraformCliArgs = append(terragruntOptions.TerraformCliArgs, "same")
out, err := RunShellCommandWithOutput(terragruntOptions, "../testdata/test_outputs.sh", "same")
out, err := RunShellCommandWithOutput(terragruntOptions, "", "../testdata/test_outputs.sh", "same")

require.NotNil(t, out, "Should get output")
assert.Nil(t, err, "Should have no error")
Expand Down

0 comments on commit bf8f423

Please sign in to comment.