commit | a4a66a1926de6e857e10573759d8ea398aa785d8 | [log] [tgz] |
---|---|---|
author | Jonas Finnemann Jensen <jonasfj@google.com> | Tue Sep 14 10:14:53 2021 +0200 |
committer | GitHub <noreply@github.com> | Tue Sep 14 10:14:53 2021 +0200 |
tree | 7086bc0cd3639e755dd1339d12620290a4fad26c | |
parent | 11636b1844015d3f1b0b9830a010119130b65840 [diff] |
Configure github actions (#2)
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
.