Skip to content

Commit 3175559

Browse files
Ayase-252MylesBorins
authored andcommitted
test: add extra space in test failure output
PR-URL: #37957 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent 3ab9619 commit 3175559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pseudo-tty/testcfg.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def IsFailureOutput(self, output):
7070
raw_lines = (output.stdout + output.stderr).split('\n')
7171
outlines = [ s.rstrip() for s in raw_lines if not self.IgnoreLine(s) ]
7272
if len(outlines) != len(patterns):
73-
print("length differs.")
73+
print(" length differs.")
7474
print("expect=%d" % len(patterns))
7575
print("actual=%d" % len(outlines))
7676
print("patterns:")
@@ -82,7 +82,7 @@ def IsFailureOutput(self, output):
8282
return True
8383
for i in range(len(patterns)):
8484
if not re.match(patterns[i], outlines[i]):
85-
print("match failed")
85+
print(" match failed")
8686
print("line=%d" % i)
8787
print("expect=%s" % patterns[i])
8888
print("actual=%s" % outlines[i])

0 commit comments

Comments
 (0)