Skip to content

Commit a38589e

Browse files
authored
Link #2521 in our code (#2522)
1 parent 7dd77ef commit a38589e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/internal/tests/cross-tests/assert.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ func assertValEqual(t T, name string, tfVal, pulVal any) {
3232
}
3333

3434
func assertResourceDataEqual(t T, resourceSchema map[string]*schema.Schema, tfResult, puResult *schema.ResourceData) {
35-
// We are unable to assert that both providers were configured with the exact same
36-
// data. Type information doesn't line up in the simple case. This just doesn't work:
35+
// TODO[pulumi/pulumi-terraform-bridge#2521]: We are unable to assert that both
36+
// providers were configured with the exact same data. Type information doesn't
37+
// line up in the simple case. This just doesn't work:
3738
//
3839
// assert.Equal(t, tfResult, puResult)
3940
//
40-
// We make do by comparing raw data.
41+
// We make do by comparing slices tfResult and puResult.
4142
assertCtyValEqual(t, "RawConfig", tfResult.GetRawConfig(), puResult.GetRawConfig())
4243
assertCtyValEqual(t, "RawPlan", tfResult.GetRawPlan(), puResult.GetRawPlan())
4344
assertCtyValEqual(t, "RawState", tfResult.GetRawState(), puResult.GetRawState())

0 commit comments

Comments
 (0)