commit | 299f74594ff9fda412c1da5c0b5d5231d0c6fc42 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Thu Nov 10 03:31:14 2022 -0800 |
committer | GitHub <noreply@github.com> | Thu Nov 10 03:31:14 2022 -0800 |
tree | aa200bc4ad70d4e9a5bcf8cefb3375c68606f3e0 | |
parent | 01589b3ce447b03aed991db49f1ec6445ad5476d [diff] |
blast_repo fixes (#25) Dependabot GitHub Action
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
.