SquishTests: Adapt expectation

There is now an additional whitespace at the end of
the commit due to different formatting.

Change-Id: Ic3046fde626c8dcda3f902813c5474704af09c09
Reviewed-by: Jukka Nokso <jukka.nokso@qt.io>
Reviewed-by: Robert Löhning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2024-08-08 07:32:46 +02:00
committed by Robert Löhning
parent ca1c7d11e6
commit cf7a03ef0d

View File

@@ -87,7 +87,7 @@ def __clickCommit__(count):
show = str(description.plainText) show = str(description.plainText)
id = "Nobody <nobody@nowhere\.com>" id = "Nobody <nobody@nowhere\.com>"
time = "\w{3} \w{3} \d{1,2} \d{2}:\d{2}:\d{2} \d{4}.* seconds ago\)" time = "\w{3} \w{3} \d{1,2} \d{2}:\d{2}:\d{2} \d{4}.* seconds ago\)"
expected = [["commit %s" % commit, False], expected = [["commit %s " % commit, False],
["Author: %s, %s" % (id, time), True], ["Author: %s, %s" % (id, time), True],
["Committer: %s, %s" % (id, time), True]] ["Committer: %s, %s" % (id, time), True]]
for line, exp in zip(show.splitlines(), expected): for line, exp in zip(show.splitlines(), expected):