commit | f2eb1b6e2aafc2d248bf25e980c9e0fcea3ae045 | [log] [tgz] |
---|---|---|
author | Devon Carew <devoncarew@google.com> | Wed May 11 10:07:45 2022 -0700 |
committer | Devon Carew <devoncarew@google.com> | Wed May 11 10:07:45 2022 -0700 |
tree | e2145726ac22e9d9151a818dee3723bc2e449733 | |
parent | 0b74d85fac10b4fbf7d1a347debcf16c8f7b0e9c [diff] |
prep for publishing 2.0.3
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
.