Skip to content

Commit

Permalink
update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalhoun committed Apr 15, 2024
1 parent ca12310 commit 03d5302
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,16 @@ properly and that the coput contains "Hello, World". Below hows how you could ru
func TestApplyNoError(t *testing.T) {
t.Parallel()

testFolder, err := files.CopyTerraformFolderToTemp("test/my-test", t.Name())
testFolder, err := files.CopyTerraformFolderToTemp(atmosExamplePath, t.Name())
require.NoError(t, err)
defer os.RemoveAll(testFolder)

fmt.Printf("running in %s\n", testFolder)

options := WithDefaultRetryableErrors(t, &Options{
AtmosBasePath: testFolder,
Component: "terraform-no-error",
Stack: testStack,
Stack: "test-test-test",
NoColor: true,
})

Expand Down
5 changes: 3 additions & 2 deletions README.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,16 @@ introduction: |-
func TestApplyNoError(t *testing.T) {
t.Parallel()
testFolder, err := files.CopyTerraformFolderToTemp("test/my-test", t.Name())
testFolder, err := files.CopyTerraformFolderToTemp(atmosExamplePath, t.Name())
require.NoError(t, err)
defer os.RemoveAll(testFolder)
fmt.Printf("running in %s\n", testFolder)
options := WithDefaultRetryableErrors(t, &Options{
AtmosBasePath: testFolder,
Component: "terraform-no-error",
Stack: testStack,
Stack: "test-test-test",
NoColor: true,
})
Expand Down

0 comments on commit 03d5302

Please sign in to comment.