commit | 6f66114d9b221ad16b70e9ef0e5bf8cc57b24ceb | [log] [tgz] |
---|---|---|
author | Michael Thomsen <mit@google.com> | Mon Sep 27 17:22:40 2021 +0200 |
committer | GitHub <noreply@github.com> | Mon Sep 27 17:22:40 2021 +0200 |
tree | 26ed50fb6cb1b6039a0dc2a0461f96b6faeae3d4 | |
parent | 151acb4188904ed3b16e449f3b8a1bfc5ba25ad6 [diff] |
Fix repo location (#6)
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
.