Skip to content

Commit 8afea58

Browse files
re-record tests
1 parent ef64ff5 commit 8afea58

File tree

229 files changed

+523
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+523
-237
lines changed

pkg/pf/tests/diff_test/testdata/TestPFDetailedDiffList/attribute_no_replace/changed_empty_to_null.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
tfbridgetests.testOutput{
22
initialValue: &[]string{},
3+
changeValue: nil,
34
tfOut: `
45
Terraform used the selected providers to generate the following execution
56
plan. Resource actions are indicated with the following symbols:

pkg/pf/tests/diff_test/testdata/TestPFDetailedDiffList/attribute_no_replace/changed_null_to_empty.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tfbridgetests.testOutput{
2-
changeValue: &[]string{},
2+
initialValue: nil, changeValue: &[]string{},
33
tfOut: `
44
Terraform used the selected providers to generate the following execution
55
plan. Resource actions are indicated with the following symbols:

pkg/pf/tests/diff_test/testdata/TestPFDetailedDiffList/attribute_no_replace/non-null_to_null.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ tfbridgetests.testOutput{
22
initialValue: &[]string{
33
"value",
44
},
5+
changeValue: nil,
56
tfOut: `
67
Terraform used the selected providers to generate the following execution
78
plan. Resource actions are indicated with the following symbols:

pkg/pf/tests/diff_test/testdata/TestPFDetailedDiffList/attribute_no_replace/null_to_non-null.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tfbridgetests.testOutput{
2-
changeValue: &[]string{
2+
initialValue: nil, changeValue: &[]string{
33
"value",
44
},
55
tfOut: `
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
tfbridgetests.testOutput{tfOut: `
1+
tfbridgetests.testOutput{
2+
initialValue: nil, changeValue: nil,
3+
tfOut: `
24
No changes. Your infrastructure matches the configuration.
35

46
Terraform has compared your real infrastructure against your configuration
57
and found no differences, so no changes are needed.
6-
`, pulumiOut: `Previewing update (test):
8+
`,
9+
pulumiOut: `Previewing update (test):
710
pulumi:pulumi:Stack: (same)
811
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
912
Resources:
1013
2 unchanged
11-
`}
14+
`,
15+
}

pkg/pf/tests/diff_test/testdata/TestPFDetailedDiffList/attribute_requires_replace/changed_empty_to_null.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
tfbridgetests.testOutput{
22
initialValue: &[]string{},
3+
changeValue: nil,
34
tfOut: `
45
Terraform used the selected providers to generate the following execution
56
plan. Resource actions are indicated with the following symbols:

pkg/pf/tests/diff_test/testdata/TestPFDetailedDiffList/attribute_requires_replace/changed_null_to_empty.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tfbridgetests.testOutput{
2-
changeValue: &[]string{},
2+
initialValue: nil, changeValue: &[]string{},
33
tfOut: `
44
Terraform used the selected providers to generate the following execution
55
plan. Resource actions are indicated with the following symbols:

pkg/pf/tests/diff_test/testdata/TestPFDetailedDiffList/attribute_requires_replace/non-null_to_null.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ tfbridgetests.testOutput{
22
initialValue: &[]string{
33
"value",
44
},
5+
changeValue: nil,
56
tfOut: `
67
Terraform used the selected providers to generate the following execution
78
plan. Resource actions are indicated with the following symbols:

pkg/pf/tests/diff_test/testdata/TestPFDetailedDiffList/attribute_requires_replace/null_to_non-null.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tfbridgetests.testOutput{
2-
changeValue: &[]string{
2+
initialValue: nil, changeValue: &[]string{
33
"value",
44
},
55
tfOut: `
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
tfbridgetests.testOutput{tfOut: `
1+
tfbridgetests.testOutput{
2+
initialValue: nil, changeValue: nil,
3+
tfOut: `
24
No changes. Your infrastructure matches the configuration.
35

46
Terraform has compared your real infrastructure against your configuration
57
and found no differences, so no changes are needed.
6-
`, pulumiOut: `Previewing update (test):
8+
`,
9+
pulumiOut: `Previewing update (test):
710
pulumi:pulumi:Stack: (same)
811
[urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test]
912
Resources:
1013
2 unchanged
11-
`}
14+
`,
15+
}

0 commit comments

Comments
 (0)