Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardoVale committed Mar 8, 2019
1 parent 31d47cf commit fa733f3
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 fa733f3

Please sign in to comment.