I am not sure how marshaling works, so cannot provide a fix, but provide we have such a file:
{
"resources" : {
"data" : [
"type-graph.txt"
]
}
}
in META6.json, and then:
> META6.new(file => 'META6.json'.IO).resources
[(Str)]
>
Expected result:
- To fail saying that resources field is incorrect.
Real result:
- The incorrect value is ignored.