diff --git a/helper/schema/schema_test.go b/helper/schema/schema_test.go index b55ef7dba..175b16127 100644 --- a/helper/schema/schema_test.go +++ b/helper/schema/schema_test.go @@ -1480,7 +1480,7 @@ func TestSchemaMap_Diff(t *testing.T) { Optional: true, Computed: true, Set: func(v interface{}) int { - return len(v) + return len(v.(string)) }, }, },