summaryrefslogtreecommitdiff
path: root/_test/test_issues.py
diff options
context:
space:
mode:
Diffstat (limited to '_test/test_issues.py')
-rw-r--r--_test/test_issues.py19
1 files changed, 14 insertions, 5 deletions
diff --git a/_test/test_issues.py b/_test/test_issues.py
index 9b301a9..5606122 100644
--- a/_test/test_issues.py
+++ b/_test/test_issues.py
@@ -853,11 +853,20 @@ class TestIssues:
def test_issue_304(self):
inp = """
- %YAML 1.2
- %TAG ! tag:example.com,2019:
- ---
- !foo null
- ...
+ %YAML 1.2
+ %TAG ! tag:example.com,2019:
+ ---
+ !foo null
+ ...
+ """
+ d = na_round_trip(inp) # NOQA
+
+ def test_issue_305(self):
+ inp = """
+ %YAML 1.2
+ ---
+ !<tag:example.com,2019/path#foo> null
+ ...
"""
d = na_round_trip(inp) # NOQA