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 88cb8b8 commit 579effbCopy full SHA for 579effb
1 file changed
src/tap/line.py
@@ -113,11 +113,10 @@ def __str__(self):
113
diagnostics = "\n" + self.diagnostics.rstrip()
114
yaml_block = ""
115
if self._yaml_block is not None:
116
- indent = " "
117
indented_yaml_block = "\n".join(
118
- f"{indent}{line}" for line in self._yaml_block.splitlines()
+ f" {line}" for line in self._yaml_block.splitlines()
119
)
120
- yaml_block = f"\n{indent}---\n{indented_yaml_block}\n{indent}..."
+ yaml_block = f"\n ---\n{indented_yaml_block}\n ..."
121
return (
122
f"{is_not}ok {self.number} {self.description}{directive}"
123
f"{diagnostics}{yaml_block}"
0 commit comments