File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -569,7 +569,8 @@ func (t *propertyType) equals(other *propertyType) bool {
569569 return false
570570 case t .typePrefixOverride == nil && other .typePrefixOverride != nil :
571571 return false
572- case t .typePrefixOverride != nil && other .typePrefixOverride != nil && * t .typePrefixOverride != * other .typePrefixOverride :
572+ case t .typePrefixOverride != nil && other .typePrefixOverride != nil &&
573+ * t .typePrefixOverride != * other .typePrefixOverride :
573574 return false
574575 }
575576 for i , p := range t .properties {
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import (
2424 "text/template"
2525
2626 "github.com/hashicorp/hcl/v2"
27+ "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
2728 "github.com/hexops/autogold/v2"
2829 csgen "github.com/pulumi/pulumi/pkg/v3/codegen/dotnet"
2930 gogen "github.com/pulumi/pulumi/pkg/v3/codegen/go"
@@ -34,7 +35,6 @@ import (
3435 "github.com/stretchr/testify/assert"
3536 "github.com/stretchr/testify/require"
3637
37- "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
3838 bridgetesting "github.com/pulumi/pulumi-terraform-bridge/v3/internal/testing"
3939 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge"
4040 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/info"
@@ -257,7 +257,7 @@ func TestTypeSharing(t *testing.T) {
257257
258258 keys := []string {}
259259 for k := range schema .Types {
260- keys = append (keys , string ( k ) )
260+ keys = append (keys , k )
261261 }
262262 sort .Strings (keys )
263263
You can’t perform that action at this time.
0 commit comments