From 631abf10d59d4afe9667de6dc10a21efb0e3c719 Mon Sep 17 00:00:00 2001 From: Venelin Date: Tue, 14 Jan 2025 13:21:44 +0200 Subject: [PATCH] fix nil elems --- pkg/tests/diff_test/detailed_diff_primitive_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tests/diff_test/detailed_diff_primitive_test.go b/pkg/tests/diff_test/detailed_diff_primitive_test.go index 9445fb974..885ad6117 100644 --- a/pkg/tests/diff_test/detailed_diff_primitive_test.go +++ b/pkg/tests/diff_test/detailed_diff_primitive_test.go @@ -14,7 +14,7 @@ import ( ) func generatePrimitiveSchemaValueMakerPairs[T any]( - typ schema.ValueType, elem *schema.Schema, ctyMaker func(v T) cty.Value, val1, val2, computedVal, defaultVal, nilVal T, + typ schema.ValueType, elem any, ctyMaker func(v T) cty.Value, val1, val2, computedVal, defaultVal, nilVal T, ) ([]diffSchemaValueMakerPair[T], []diffScenario[T]) { valueOne := ref(val1) valueTwo := ref(val2)