The YAML specification says mapping keys must be unique, but fkYAML doesn't check duplication of keys while parsing the input stream.
To follow the specification, this PR has fixed the bug.
Furthermore, to check that the fix works as expected, a new test case has also been added.
coverage: 100.0%. remained the same
when pulling a5723ca451a1c779fdbccd9dbe6c5646dafdbb2e on feature/205_detect_key_duplication
into 06b39486a1460c0010c13e8ecade2d4c7eae358b on develop.
The YAML specification says mapping keys must be unique, but fkYAML doesn't check duplication of keys while parsing the input stream.
To follow the specification, this PR has fixed the bug.
Furthermore, to check that the fix works as expected, a new test case has also been added.