commit | 953890cf4d4de4604940baac57793098f8b39bb0 | [log] [tgz] |
---|---|---|
author | Jonas Finnemann Jensen <jonasfj@google.com> | Thu Aug 27 16:16:43 2020 +0200 |
committer | GitHub <noreply@github.com> | Thu Aug 27 16:16:43 2020 +0200 |
tree | 6a726374b244c97bdf07a5e803fb2432b0c324b6 | |
parent | 9bf1c94e32980f737b756964d707ff018479551d [diff] |
Remove yaml_edit dependency on quiver_hashcode (#61)
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
.