We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d17e3f4 commit dccb9d5Copy full SHA for dccb9d5
aws_doc_sdk_examples_tools/snippets_test.py
@@ -60,6 +60,12 @@
60
"snippet" + "-end:[this.is.a.snippet.tag]\n",
61
1,
62
),
63
+ (
64
+ "<!-- snippet" + "-start:[xml.snippet] -->\n"
65
+ "<text>some xml</text>"
66
+ "<!-- snippet" + "-end:[xml.snippet] -->\n",
67
+ 0
68
+ ),
69
],
70
)
71
def test_verify_snippet_start_end(file_contents: str, expected_error_count: int):
@@ -101,4 +107,4 @@ def test_strip_spdx_header():
101
107
]
102
108
103
109
104
- assert [] == snippets.strip_spdx_header([])
110
+ assert [] == snippets.strip_spdx_header([])
0 commit comments