commit | fca8585fa998bf4a1881ea0e601d274b558cb9bc | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Thu Apr 07 05:34:48 2022 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 07 14:34:48 2022 +0200 |
tree | 4f0c668144bc69cfc35e65ca3a98e5bae995da92 | |
parent | 4fadb43801b07f90b3f0c6065dbce4efc6d8d55e [diff] |
Ignore hint in test – not sure we want to refactor this (yet) (#19)
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
.