commit | 151acb4188904ed3b16e449f3b8a1bfc5ba25ad6 | [log] [tgz] |
---|---|---|
author | Sarah Zakarias <zarah@google.com> | Mon Sep 27 12:45:51 2021 +0200 |
committer | GitHub <noreply@github.com> | Mon Sep 27 12:45:51 2021 +0200 |
tree | a2b199668ec229f624ad124b0155aacee27f78d9 | |
parent | df1452bfe1653286277a1a8f34dddf3e4fbedd9e [diff] |
Bump to version 2.0.1 (#5)
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.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
.