Skip to content

Commit

Permalink
Merge pull request #909 from cbascom/issue-908
Browse files Browse the repository at this point in the history
Replace *testing.T with testing.TestingT (#908)
  • Loading branch information
brikis98 authored May 25, 2021
2 parents 381c63d + 88fc931 commit 1408c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/terraform/options.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package terraform

import (
"testing"
"time"

"github.com/gruntwork-io/terratest/modules/logger"
"github.com/gruntwork-io/terratest/modules/ssh"
"github.com/gruntwork-io/terratest/modules/testing"
"github.com/jinzhu/copier"
"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -86,7 +86,7 @@ func (options *Options) Clone() (*Options, error) {
// for retryable errors. The included retryable errors are typical errors that most terraform modules encounter during
// testing, and are known to self resolve upon retrying.
// This will fail the test if there are any errors in the cloning process.
func WithDefaultRetryableErrors(t *testing.T, originalOptions *Options) *Options {
func WithDefaultRetryableErrors(t testing.TestingT, originalOptions *Options) *Options {
newOptions, err := originalOptions.Clone()
require.NoError(t, err)

Expand Down

0 comments on commit 1408c8f

Please sign in to comment.