commit | f3feb50dab3b36fe5ec115e78667712473e2e882 | [log] [tgz] |
---|---|---|
author | Devon Carew <devoncarew@google.com> | Fri Apr 22 23:15:45 2022 +0000 |
committer | GitHub <noreply@github.com> | Fri Apr 22 23:15:45 2022 +0000 |
tree | 9400c426cddc46cd16f340dd0a6ab8e555c4b009 | |
parent | 3efce7e556fdda43eb7d55a6d0e433fbcacd4373 [diff] |
update the changelog
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
.