commit | 71db634024ac6fcc64a4051f26d13b751a448c98 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Mon Oct 25 15:12:32 2021 -0700 |
committer | GitHub <noreply@github.com> | Mon Oct 25 15:12:32 2021 -0700 |
tree | 02332c0fbef1e61bae8ebd468963f172885d63ea | |
parent | 6f66114d9b221ad16b70e9ef0e5bf8cc57b24ceb [diff] |
Drop unneeded dependency on pkg:pedantic (#8)
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
.