commit | 1303a284dc0cabfa205efcbfd2d6f2bfb6cfe16e | [log] [tgz] |
---|---|---|
author | Jonas Finnemann Jensen <jonasfj@google.com> | Fri Aug 07 21:25:43 2020 +0200 |
committer | Jonas Finnemann Jensen <jonasfj@google.com> | Fri Aug 07 21:34:07 2020 +0200 |
tree | 0f3cfb57fb7f054ecf0a135d023a38537461139d | |
parent | 0acf0563368e66a246558d803368b52dd952c438 [diff] |
Updated issue template and nits for yaml_edit
A library for YAML manipulation while preserving comments.
Disclaimer: This is not an officially supported Google product.
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
.