commit | 01589b3ce447b03aed991db49f1ec6445ad5476d | [log] [tgz] |
---|---|---|
author | Devon Carew <devoncarew@google.com> | Thu May 12 08:51:39 2022 -0700 |
committer | GitHub <noreply@github.com> | Thu May 12 08:51:39 2022 -0700 |
tree | e2145726ac22e9d9151a818dee3723bc2e449733 | |
parent | 0b74d85fac10b4fbf7d1a347debcf16c8f7b0e9c [diff] |
prep for publishing 2.0.3 (#22)
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
.