Skip to content

Commit

Permalink
Add clarifications (#2619)
Browse files Browse the repository at this point in the history
Follow-up to #2611, which I didn't realize was set to automerge.
  • Loading branch information
guineveresaenger authored Nov 14, 2024
2 parents 4134b3d + b9d5cfb commit 8d25e13
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkg/tfgen/edit_rules_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func TestApplyEditRules(t *testing.T) {
},
{
// Found in azuredevops: https://github.com/pulumi/pulumi-terraform-bridge/issues/2610
name: `Replaces "Managed by Terraform" with "Manged by Pulumi"`,
name: `Replaces "Managed by Terraform" with "Managed by Pulumi"`,
docFile: DocFile{
Content: []byte(`
const example = new azuredevops.Project("example", {
Expand All @@ -282,10 +282,11 @@ const example = new azuredevops.Project("example", {
`),
},
{
name: "Does not replace \"Managed by Terraform\" with \"Manged by Pulumi\" (require quotes)",
// It's harder to tell if Managed by Terraform would sense to replace, so we don't do it for now.
name: "Does not replace \"Managed by Terraform\" with \"Managed by Pulumi\" if no quotes",
// It's harder to tell if Managed by Terraform (without quotes) would make sense to replace,
// so we don't do it for now.
//
// We don't have a canonical example where this does not work.
// We don't currently have a canonical example where this breaks docsgen.
docFile: DocFile{
Content: []byte(`
This Resource is Managed by Terraform
Expand Down

0 comments on commit 8d25e13

Please sign in to comment.