commit | f34f260764078eb7384329229c8d558cb5eb46db | [log] [tgz] |
---|---|---|
author | Wayne Duran <asartalo@gmail.com> | Fri Mar 19 22:34:43 2021 +0800 |
committer | GitHub <noreply@github.com> | Fri Mar 19 15:34:43 2021 +0100 |
tree | fe3880043f99179771e1e656b2d81d088dada327 | |
parent | 35c8de6021ea4073f9c8495e47eeb86af3fddd07 [diff] |
Add tests for parseAt with null values (#110)
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
.