Skip to content

Commit bc0f627

Browse files
re-record tests
1 parent 94fa063 commit bc0f627

File tree

184 files changed

+331
-151
lines changed

Some content is hidden

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

184 files changed

+331
-151
lines changed

pkg/tests/diff_test/detailed_diff_set_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ func TestSDKv2DetailedDiffSetNestedComputedBlock(t *testing.T) {
563563
{"block with nested computed and force new", blockSchemaNestedComputedForceNew, nestedListValueMaker},
564564
{"block with nested computed and force new computed specified in program", blockSchemaNestedComputedForceNew, nestedListValueMakerWithComputedSpecified},
565565
{"block with nested computed and nested force new", blockSchemaNestedComputedNestedForceNew, nestedListValueMaker},
566-
{"block with nested computed and nested force new computed specified in program", blockSchemaNestedComputedNestedForceNew, nestedListValueMakerWithComputedSpecified},
566+
{"block with nested computed and nested force new computed specified", blockSchemaNestedComputedNestedForceNew, nestedListValueMakerWithComputedSpecified},
567567
}
568568

569569
for _, schemaValueMakerPair := range schemaValueMakerPairs {

pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_empty.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tests.testOutput{
2-
changeValue: &[]string{},
2+
initialValue: nil, changeValue: &[]string{},
33
tfOut: `
44
No changes. Your infrastructure matches the configuration.
55

pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_non-empty.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tests.testOutput{
2-
changeValue: &[]string{
2+
initialValue: nil, changeValue: &[]string{
33
"val1",
44
},
55
tfOut: `

pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_empty.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
tests.testOutput{
22
initialValue: &[]string{},
3+
changeValue: nil,
34
tfOut: `
45
No changes. Your infrastructure matches the configuration.
56

pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_non-empty.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ tests.testOutput{
22
initialValue: &[]string{
33
"val1",
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:
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
tests.testOutput{tfOut: `
1+
tests.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/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_empty.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tests.testOutput{
2-
changeValue: &[]string{},
2+
initialValue: nil, changeValue: &[]string{},
33
tfOut: `
44
No changes. Your infrastructure matches the configuration.
55

pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_non-empty.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tests.testOutput{
2-
changeValue: &[]string{
2+
initialValue: nil, changeValue: &[]string{
33
"val1",
44
},
55
tfOut: `

pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_empty.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
tests.testOutput{
22
initialValue: &[]string{},
3+
changeValue: nil,
34
tfOut: `
45
No changes. Your infrastructure matches the configuration.
56

pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_non-empty.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ tests.testOutput{
22
initialValue: &[]string{
33
"val1",
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:

0 commit comments

Comments
 (0)