Closed pgodzin closed 3 years ago
Hi, thanks for using Yamale!
In your schema, you're expecting an integer as the key....but your data has a string "123"
. Try changing this:
data = yamale.make_data(content='''
"123":
name: "Test"
''')
to this:
data = yamale.make_data(content='''
123:
name: "Test"
''')
I see, thanks for the help!
I am getting issues with numerical keys that I cannot reproduce with the same schema but with alphanumerical keys.
results in
However, if
123
is replaced withABC123
the test case passes