commit | 11636b1844015d3f1b0b9830a010119130b65840 | [log] [tgz] |
---|---|---|
author | Jonas Finnemann Jensen <jonasfj@google.com> | Mon Sep 13 20:20:10 2021 +0200 |
committer | Jonas Finnemann Jensen <jonasfj@google.com> | Mon Sep 13 20:20:41 2021 +0200 |
tree | 3f6d97e4a5f95ab0bb10d1023da4835f756f60d9 | |
parent | 546e912d501391bee35200dfd2d6ef7fcab67981 [diff] |
Migrate out of mono_repo
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
.