core: fixing new test
Removed the ‘hashcode’ function so we didn’t need to import it here, but also removed the needed type assertion.
This commit is contained in:
parent
db640cb1dc
commit
4c23019ab7
|
@ -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))
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue