You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose you have a YAML file with multiple consequitive objects going like
object1:
- !Object1 {
list: [
'of',
'items'
] # , may go after this
} # , may go after this
!Object2 {
...
}
The problem is, if a comma goes after the closing square bracket (or curly bracket?), then Object2 is going to be a part of object1 list. If it is absent, in our code base Object2 will be read as next object, but in the test that I will provid it crashes as well.
The text was updated successfully, but these errors were encountered:
Please note that this YAML might be sligtly ill-formed - in reality it needs a --- between objects, but this causes issues as well and will have a test case of its own
Suppose you have a YAML file with multiple consequitive objects going like
The problem is, if a comma goes after the closing square bracket (or curly bracket?), then Object2 is going to be a part of object1 list. If it is absent, in our code base Object2 will be read as next object, but in the test that I will provid it crashes as well.
The text was updated successfully, but these errors were encountered: