tests: fix attempt 2
This commit is contained in:
parent
9d1b0d638f
commit
2ee8e4a3f5
4
test.py
4
test.py
|
@ -186,12 +186,12 @@ def main() -> int:
|
||||||
|
|
||||||
for expected_output in fail.test.expected:
|
for expected_output in fail.test.expected:
|
||||||
print(
|
print(
|
||||||
+(indent(text=repr(expected_output), prefix=(2 * INDENT) * " ") + "\n")
|
indent(text=repr(expected_output), prefix=(2 * INDENT) * " ") + "\n"
|
||||||
+ (indent(text=expected_output, prefix=(2 * INDENT) * " ") + "\n")
|
+ (indent(text=expected_output, prefix=(2 * INDENT) * " ") + "\n")
|
||||||
)
|
)
|
||||||
|
|
||||||
print(
|
print(
|
||||||
+(indent(text="Actual:", prefix=INDENT * " ") + "\n")
|
indent(text="Actual:", prefix=INDENT * " ") + "\n"
|
||||||
+ (indent(text=repr(fail.output), prefix=(2 * INDENT) * " ") + "\n")
|
+ (indent(text=repr(fail.output), prefix=(2 * INDENT) * " ") + "\n")
|
||||||
+ (indent(text=fail.output, prefix=(2 * INDENT) * " ") + "\n\n")
|
+ (indent(text=fail.output, prefix=(2 * INDENT) * " ") + "\n\n")
|
||||||
+ (indent(text="stderr:", prefix=INDENT * " ") + "\n")
|
+ (indent(text="stderr:", prefix=INDENT * " ") + "\n")
|
||||||
|
|
Loading…
Reference in a new issue