• YAML. Simple Dict - I think there is in error

Question related to mission YAML. Simple Dict

 

Hi,

when you start the task, it says the following in line 14:

    assert yaml("""name: Alex
age: 12

class: 12b""") == {'age': 12,
 'class': '12b',
 'name': 'Alex Fox'}

I think it should be either

    assert yaml("""name: Alex Fox
age: 12

class: 12b""") == {'age': 12,
 'class': '12b',
 'name': 'Alex Fox'}

or

    assert yaml("""name: Alex
age: 12

class: 12b""") == {'age': 12,
 'class': '12b',
 'name': 'Alex'}
12