commit | d10e9cc69a06679e3f416b217d7cfc454563a9b3 | [log] [tgz] |
---|---|---|
author | Garett Tok Ern Liang <36098015+walnutdust@users.noreply.github.com> | Tue Oct 27 23:47:45 2020 +0800 |
committer | GitHub <noreply@github.com> | Tue Oct 27 16:47:45 2020 +0100 |
tree | d69e153ffbade82301ca1058d248c9883c937c38 | |
parent | 10fb5c04fabc5c52a2495eac1fca363a9cbe9976 [diff] |
Minor documentation fixes for yaml_edit (#75) * Minor typo and line width fixes * Small doc reference fixes
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
.