Fix splice list insertion (dart-lang/yaml_edit#84)
* Fix spliceList error for nested lists
* Fix list indentation calculation
* Add golden tests for spliceList
* Remove skip flag on test added in 8cc8580
* Add missing line at end of file
* Add spliceList tests
* Skip random test that fails (20th iteration)
* Add deeply nested input in golden tests for spliceList
* Fix formatting to account for space in nested list
* Add golden tests for weird spaces in nested list
* Run dart format
* Update `_formatNewBlock` to return indent size instead of the indent
* Update test/testdata/input/splice_list_in_nested_block_with_weird_spaces.test
---------
Co-authored-by: Jonas Finnemann Jensen <jopsen@gmail.com>
10 files changed
tree: bf8130574920e758f4971a6af8a217302d131aab
- pkgs/