commit | a4ff857eba2b84f7febd76b20e0206ea19cbcc97 | [log] [tgz] |
---|---|---|
author | Mohamed Ishad <ishad.19@cse.mrt.ac.lk> | Wed Mar 01 19:23:29 2023 +0530 |
committer | GitHub <noreply@github.com> | Wed Mar 01 14:53:29 2023 +0100 |
tree | 44970bb8ad776164c757544ff4c95cc18188a275 | |
parent | 2fdfbdb696abad4c4a4d469ad2a713966dbfd63e [diff] |
Update CHANGELOG.md (#37) * Fix for selecting the correct index in insertion * Add new test cases * Add more tests and format corrections * Update `CHANGELOG.md`
A library for YAML manipulation while preserving comments.
A simple usage example:
import 'package:yaml_edit/yaml_edit.dart'; void main() { final yamlEditor = YamlEditor('{YAML: YAML}'); yamlEditor.update(['YAML'], "YAML Ain't Markup Language"); print(yamlEditor); // Expected output: // {YAML: YAML Ain't Markup Language} }
Testing is done in two strategies: Unit testing (/test/editor_test.dart
) and Golden testing (/test/golden_test.dart
). More information on Golden testing and the input/output format can be found at /test/testdata/README.md
.
These tests are automatically run with pub run test
.