diff --git a/pkg/internal/tests/cross-tests/configure.go b/pkg/internal/tests/cross-tests/configure.go index 1b2f073974..7e54bf6426 100644 --- a/pkg/internal/tests/cross-tests/configure.go +++ b/pkg/internal/tests/cross-tests/configure.go @@ -25,7 +25,7 @@ import ( "gopkg.in/yaml.v3" crosstestsimpl "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/cross-tests/impl" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/tfcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/info" shimv2 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2" diff --git a/pkg/internal/tests/cross-tests/create.go b/pkg/internal/tests/cross-tests/create.go index 4d218bc7e0..3774205ae1 100644 --- a/pkg/internal/tests/cross-tests/create.go +++ b/pkg/internal/tests/cross-tests/create.go @@ -26,7 +26,7 @@ import ( "github.com/zclconf/go-cty/cty" crosstestsimpl "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/cross-tests/impl" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/info" shimv2 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2" ) diff --git a/pkg/internal/tests/cross-tests/diff_check.go b/pkg/internal/tests/cross-tests/diff_check.go index 7a7972c01f..6034191776 100644 --- a/pkg/internal/tests/cross-tests/diff_check.go +++ b/pkg/internal/tests/cross-tests/diff_check.go @@ -24,7 +24,7 @@ import ( "github.com/stretchr/testify/require" crosstestsimpl "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/cross-tests/impl" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" ) type diffTestCase struct { diff --git a/pkg/internal/tests/cross-tests/upgrade_state_check.go b/pkg/internal/tests/cross-tests/upgrade_state_check.go index f20b966342..98c5e7c4f8 100644 --- a/pkg/internal/tests/cross-tests/upgrade_state_check.go +++ b/pkg/internal/tests/cross-tests/upgrade_state_check.go @@ -30,7 +30,7 @@ import ( "gotest.tools/v3/assert" crosstestsimpl "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/cross-tests/impl" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" ) type upgradeStateTestCase struct { diff --git a/pkg/tests/pulcheck/pulcheck.go b/pkg/internal/tests/pulcheck/pulcheck.go similarity index 100% rename from pkg/tests/pulcheck/pulcheck.go rename to pkg/internal/tests/pulcheck/pulcheck.go diff --git a/pkg/pf/tests/pulumi_test.go b/pkg/pf/tests/pulumi_test.go index f014b84528..72d0b87bd7 100644 --- a/pkg/pf/tests/pulumi_test.go +++ b/pkg/pf/tests/pulumi_test.go @@ -23,8 +23,8 @@ import ( "github.com/pulumi/providertest/pulumitest" "github.com/stretchr/testify/require" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" pf "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfbridge" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/info" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/tokens" sdkv2shim "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2" diff --git a/pkg/tests/acc_secrets_test.go b/pkg/tests/acc_secrets_test.go index 0c37526441..0bfc259ed8 100644 --- a/pkg/tests/acc_secrets_test.go +++ b/pkg/tests/acc_secrets_test.go @@ -28,7 +28,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/info" ) diff --git a/pkg/tests/configure_test.go b/pkg/tests/configure_test.go index f8a0efbf8e..3c51856fbd 100644 --- a/pkg/tests/configure_test.go +++ b/pkg/tests/configure_test.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/tfcheck" ) diff --git a/pkg/tests/create_test.go b/pkg/tests/create_test.go index 395aa720ac..6d905d3c21 100644 --- a/pkg/tests/create_test.go +++ b/pkg/tests/create_test.go @@ -16,7 +16,7 @@ import ( "github.com/zclconf/go-cty/cty" crosstests "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/cross-tests" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/info" ) diff --git a/pkg/tests/custom_timeout_test.go b/pkg/tests/custom_timeout_test.go index 98f1d252cd..07948db7f3 100644 --- a/pkg/tests/custom_timeout_test.go +++ b/pkg/tests/custom_timeout_test.go @@ -11,7 +11,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/tfcheck" ) diff --git a/pkg/tests/detailed_diff_set_test.go b/pkg/tests/detailed_diff_set_test.go index d5d3521aa1..acbb24ed4d 100644 --- a/pkg/tests/detailed_diff_set_test.go +++ b/pkg/tests/detailed_diff_set_test.go @@ -15,7 +15,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/auto/optpreview" "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/tfcheck" ) diff --git a/pkg/tests/detailed_diff_test.go b/pkg/tests/detailed_diff_test.go index 02ec3d26dc..686a4006b2 100644 --- a/pkg/tests/detailed_diff_test.go +++ b/pkg/tests/detailed_diff_test.go @@ -15,7 +15,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/auto/optpreview" "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/info" ) diff --git a/pkg/tests/import_test.go b/pkg/tests/import_test.go index 0fef78674a..4b356cea40 100644 --- a/pkg/tests/import_test.go +++ b/pkg/tests/import_test.go @@ -15,7 +15,7 @@ import ( "github.com/stretchr/testify/require" "gopkg.in/yaml.v3" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" ) func TestFullyComputedNestedAttribute(t *testing.T) { diff --git a/pkg/tests/plan_state_edit_test.go b/pkg/tests/plan_state_edit_test.go index 7e1686b9b3..0b3dc6e7ee 100644 --- a/pkg/tests/plan_state_edit_test.go +++ b/pkg/tests/plan_state_edit_test.go @@ -10,7 +10,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/common/resource" "github.com/stretchr/testify/assert" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" shimv2 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2" ) diff --git a/pkg/tests/refresh_test.go b/pkg/tests/refresh_test.go index d900791800..bf95a23907 100644 --- a/pkg/tests/refresh_test.go +++ b/pkg/tests/refresh_test.go @@ -11,7 +11,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/auto/optrefresh" "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" ) func TestCollectionsNullEmptyRefreshClean(t *testing.T) { diff --git a/pkg/tests/schema_pulumi_test.go b/pkg/tests/schema_pulumi_test.go index 903d484769..ca2b8d4858 100644 --- a/pkg/tests/schema_pulumi_test.go +++ b/pkg/tests/schema_pulumi_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" ) diff --git a/pkg/tests/state_func_test.go b/pkg/tests/state_func_test.go index a295d2ebfb..debcee8029 100644 --- a/pkg/tests/state_func_test.go +++ b/pkg/tests/state_func_test.go @@ -12,7 +12,7 @@ import ( "github.com/zclconf/go-cty/cty" crosstests "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/cross-tests" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" ) // TestStateFunc ensures that resources with a StateFunc set on their schema are correctly diff --git a/pkg/tests/tfcheck/exec.go b/pkg/tests/tfcheck/exec.go index 15b008377c..14ce1ac005 100644 --- a/pkg/tests/tfcheck/exec.go +++ b/pkg/tests/tfcheck/exec.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" ) func (d *TFDriver) execTf(t pulcheck.T, args ...string) ([]byte, error) { diff --git a/pkg/tests/tfcheck/tfcheck.go b/pkg/tests/tfcheck/tfcheck.go index 7fdaea58f6..2f18fb656a 100644 --- a/pkg/tests/tfcheck/tfcheck.go +++ b/pkg/tests/tfcheck/tfcheck.go @@ -23,7 +23,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" ) type TFDriver struct { diff --git a/pkg/tests/type_checker_test.go b/pkg/tests/type_checker_test.go index be680f183e..b0d3076bf3 100644 --- a/pkg/tests/type_checker_test.go +++ b/pkg/tests/type_checker_test.go @@ -9,7 +9,7 @@ import ( "github.com/pulumi/providertest/pulumitest/opttest" "github.com/stretchr/testify/require" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tests/pulcheck" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/internal/tests/pulcheck" ) func TestTypeChecker(t *testing.T) {