Skip to content

Commit 61c04a4

Browse files
fix nil elems
1 parent f2a0c1c commit 61c04a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/tests/diff_test/detailed_diff_primitive_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
func generatePrimitiveSchemaValueMakerPairs[T any](
17-
typ schema.ValueType, elem *schema.Schema, ctyMaker func(v T) cty.Value, val1, val2, computedVal, defaultVal, nilVal T,
17+
typ schema.ValueType, elem any, ctyMaker func(v T) cty.Value, val1, val2, computedVal, defaultVal, nilVal T,
1818
) ([]diffSchemaValueMakerPair[T], []diffScenario[T]) {
1919
valueOne := ref(val1)
2020
valueTwo := ref(val2)

0 commit comments

Comments
 (0)