forked from qt-creator/qt-creator
Squish: Fix failure message
Change-Id: I77f46ccc87fe0ae64fcab17c35af93c6064dc9f4 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -216,7 +216,7 @@ def __handleColorTips__(colTip, expectedColor):
|
|||||||
if rgb.rgba() == cmp.rgba():
|
if rgb.rgba() == cmp.rgba():
|
||||||
test.passes("ColorTip verified")
|
test.passes("ColorTip verified")
|
||||||
else:
|
else:
|
||||||
test.fail("ColorTip does not match - expected color '%s' got '%s'" % (rgb.rgb(), cmp.rgb()))
|
test.fail("ColorTip does not match - expected color '%s' got '%s'" % (cmp.rgb(), rgb.rgb()))
|
||||||
|
|
||||||
# function that checks whether all expected properties (including their values)
|
# function that checks whether all expected properties (including their values)
|
||||||
# match the given properties
|
# match the given properties
|
||||||
|
Reference in New Issue
Block a user