commit | 3efce7e556fdda43eb7d55a6d0e433fbcacd4373 | [log] [tgz] |
---|---|---|
author | Devon Carew <devoncarew@google.com> | Fri Apr 22 08:36:18 2022 -0700 |
committer | GitHub <noreply@github.com> | Fri Apr 22 08:36:18 2022 -0700 |
tree | 44431809971446ba08d734750ee2a6b5da2ad7ca | |
parent | fca8585fa998bf4a1881ea0e601d274b558cb9bc [diff] |
Update pubspec.yaml
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
.