diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-01-28 09:56:25 +0100 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-01-28 09:56:25 +0100 |
commit | 7c72a605d4c7a4c5049ebf78938984085e673ab8 (patch) | |
tree | 792d0c2caab1febbabdceccf7f3219f0afe38f3a /_test | |
parent | 11007775fff4348df2f301b5082d1508a8d57804 (diff) | |
download | ruamel.yaml-7c72a605d4c7a4c5049ebf78938984085e673ab8.tar.gz |
fix spurious comment line0.13.13
Diffstat (limited to '_test')
-rw-r--r-- | _test/test_comments.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/_test/test_comments.py b/_test/test_comments.py index 7673094..78daa5e 100644 --- a/_test/test_comments.py +++ b/_test/test_comments.py @@ -670,6 +670,18 @@ class TestEmptyLines: - c2: catfish """) + def test_issue_96(self): + # inserted extra line on trailing spaces + round_trip("""\ + a: + b: + c: c_val + d: + + e: + g: g_val + """) + class TestUnicodeComments: @pytest.mark.skipif(ruamel.yaml.reader.Reader.UNICODE_SIZE < 4, |