mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Allow test fixtures with non-string attributes
The testDiffFn was only only allowing string values for attributes
This commit is contained in:
parent
6c6b22b853
commit
d026745823
@ -210,10 +210,6 @@ func testDiffFn(
|
||||
}
|
||||
|
||||
for k, v := range c.Raw {
|
||||
if _, ok := v.(string); !ok {
|
||||
continue
|
||||
}
|
||||
|
||||
// Ignore __-prefixed keys since they're used for magic
|
||||
if k[0] == '_' && k[1] == '_' {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user