summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-09-20 08:53:01 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-09-20 08:53:01 +0200
commitd3bd516b32e076af856897defdad212e8fcfd878 (patch)
tree13ddb2525b3c627c0e0670e5d2549ab98724d623 /_test
parent02547f7eb11a191838cb62547274b614743e42d4 (diff)
downloadruamel.yaml-d3bd516b32e076af856897defdad212e8fcfd878.tar.gz
add failing test re #236
Diffstat (limited to '_test')
-rw-r--r--_test/test_issues.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py
index df39b44..76e964c 100644
--- a/_test/test_issues.py
+++ b/_test/test_issues.py
@@ -441,3 +441,18 @@ class TestIssues:
fold = data[0]['cmd']
print(repr(fold))
assert '\a' not in fold
+
+ @pytest.mark.xfail(strict=True, reason='newline in nested flow sequence',
+ raises=AssertionError)
+ def test_issue_236(self):
+ inp = """
+ conf:
+ xx: {a: "b", c: []}
+ asd: "nn"
+ """
+ d = round_trip(inp) # NOQA
+
+# def test_issue_xxx(self):
+# inp = """
+# """)
+# d = round_trip(inp) # NOQA