Allow test fixtures with non-string attributes

The testDiffFn was only only allowing string values for attributes
This commit is contained in:
James Bardin 2016-12-15 12:03:17 -05:00
parent 6c6b22b853
commit d026745823
1 changed files with 0 additions and 4 deletions

View File

@ -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