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 {
|
for k, v := range c.Raw {
|
||||||
if _, ok := v.(string); !ok {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
// Ignore __-prefixed keys since they're used for magic
|
// Ignore __-prefixed keys since they're used for magic
|
||||||
if k[0] == '_' && k[1] == '_' {
|
if k[0] == '_' && k[1] == '_' {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue