commit | 4fadb43801b07f90b3f0c6065dbce4efc6d8d55e | [log] [tgz] |
---|---|---|
author | Jonas Finnemann Jensen <jonasfj@google.com> | Thu Mar 17 12:35:37 2022 +0100 |
committer | GitHub <noreply@github.com> | Thu Mar 17 12:35:37 2022 +0100 |
tree | 9eaa9a93c6a3e52ac4542ee0a3d96bd98892422a | |
parent | 46eb45d005aea2953488e55cee0194ba249445c7 [diff] |
Prepare 2.0.2 release (#7) * Prepare 2.0.2 release
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
.