Fix for issue dart-lang/yaml_edit#23 (dart-lang/yaml_edit#34)

* Fix for selecting the correct index in insertion

* Add new test cases

* Add more tests and format corrections
3 files changed
tree: 8a24e1b40fa2367276407c0f8d9c8e986a32f84b
  1. pkgs/