tag | b02d49a1295c073513ea4f57f341c897f768b4db | |
---|---|---|
tagger | Jonas Finnemann Jensen <jonasfj@google.com> | Mon Nov 02 14:14:32 2020 +0100 |
object | bdbc47ddd4abea10156d863f0776cc92170ca077 |
Published yaml_edit version 1.0.3 - Fixed bug in adding an empty map as a map value.
commit | bdbc47ddd4abea10156d863f0776cc92170ca077 | [log] [tgz] |
---|---|---|
author | Garett Tok Ern Liang <36098015+walnutdust@users.noreply.github.com> | Mon Nov 02 21:13:53 2020 +0800 |
committer | GitHub <noreply@github.com> | Mon Nov 02 14:13:53 2020 +0100 |
tree | 60c8cddaa2fd55382da91d49794ca1bd8a4a2297 | |
parent | aa97132f21b1758f5104fd3148349db3b36008f1 [diff] |
Yaml edit/1.0.3 (#82) * Updated changelog and pubspec.yaml. Alphabeticized pubspec entries * Alphabetized imports * Changed copyright
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
.