tag | a020f11ff9d5466afb4515dd04014653c8296e30 | |
---|---|---|
tagger | Jonas Finnemann Jensen <jonasfj@google.com> | Tue Aug 25 15:05:52 2020 +0200 |
object | 9bf1c94e32980f737b756964d707ff018479551d |
Published yaml_edit version 1.0.1 - Updated behavior surrounding list and map removal. - Fixed bug in dealing with empty values.
commit | 9bf1c94e32980f737b756964d707ff018479551d | [log] [tgz] |
---|---|---|
author | Garett Tok Ern Liang <36098015+walnutdust@users.noreply.github.com> | Mon Aug 24 23:29:56 2020 +0800 |
committer | GitHub <noreply@github.com> | Mon Aug 24 17:29:56 2020 +0200 |
tree | 350858d43d9344aa8c0370b25e0077a715662cc9 | |
parent | ee9d5e50097fac8981be7a715821831a75388cb5 [diff] |
Updating package:yaml_edit to deal with empty nodes (#57) * Fixed bug in empty values * Restored example * Restored example to an earlier version * Removed unused dependency in example * Removed printing of yaml * Fixed bugs
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
.