commit | 546e912d501391bee35200dfd2d6ef7fcab67981 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Tue Jul 20 10:10:42 2021 -0700 |
committer | GitHub <noreply@github.com> | Tue Jul 20 19:10:42 2021 +0200 |
tree | cf2173ff585b047acf9da345888e62f807ca0d4f | |
parent | 1d9e7e8e78f06315d35cbb1e75332c366989b257 [diff] |
Bump mono_repo to v5.0.1 (#150) Also use latest task names
A library for YAML manipulation while preserving comments.
Disclaimer: This is not an officially supported Google product.
A simple usage example:
import 'package:yaml_edit/yaml_edit.dart'; void main() { final yamlEditor = YamlEditor('{YAML: YAML}'); yamlEditor.assign(['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
.